mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gst-libs/gst/riff/riff-media.c: mpegversion is an int
Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data): mpegversion is an int * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_base_init): don't try to create pad templates with NULL caps, use any caps instead.
This commit is contained in:
parent
c638dc11c9
commit
0f6862668b
3 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2004-04-22 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
|
* gst-libs/gst/riff/riff-media.c:
|
||||||
|
(gst_riff_create_video_caps_with_data):
|
||||||
|
mpegversion is an int
|
||||||
|
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_base_init):
|
||||||
|
don't try to create pad templates with NULL caps, use any caps
|
||||||
|
instead.
|
||||||
|
|
||||||
2004-04-20 David Schleef <ds@schleef.org>
|
2004-04-20 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
* ext/sdl/Makefile.am: Link against libgstinterfaces, not
|
* ext/sdl/Makefile.am: Link against libgstinterfaces, not
|
||||||
|
|
|
@ -91,7 +91,7 @@ gst_riff_create_video_caps_with_data (guint32 codec_fcc,
|
||||||
case GST_MAKE_FOURCC ('M', 'P', 'G', 'I'):
|
case GST_MAKE_FOURCC ('M', 'P', 'G', 'I'):
|
||||||
caps = gst_caps_new_simple ("video/mpeg",
|
caps = gst_caps_new_simple ("video/mpeg",
|
||||||
"systemstream", G_TYPE_BOOLEAN, FALSE,
|
"systemstream", G_TYPE_BOOLEAN, FALSE,
|
||||||
"mpegversion", G_TYPE_BOOLEAN, 1, NULL);
|
"mpegversion", G_TYPE_INT, 1, NULL);
|
||||||
if (codec_name)
|
if (codec_name)
|
||||||
*codec_name = g_strdup ("MPEG video");
|
*codec_name = g_strdup ("MPEG video");
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -132,7 +132,7 @@ gst_v4lsrc_base_init (gpointer g_class)
|
||||||
gst_element_class_set_details (gstelement_class, &gst_v4lsrc_details);
|
gst_element_class_set_details (gstelement_class, &gst_v4lsrc_details);
|
||||||
|
|
||||||
src_template = gst_pad_template_new ("src",
|
src_template = gst_pad_template_new ("src",
|
||||||
GST_PAD_SRC, GST_PAD_ALWAYS, NULL);
|
GST_PAD_SRC, GST_PAD_ALWAYS, gst_caps_new_any ());
|
||||||
|
|
||||||
gst_element_class_add_pad_template (gstelement_class, src_template);
|
gst_element_class_add_pad_template (gstelement_class, src_template);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue