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:
Benjamin Otte 2004-04-22 03:29:01 +00:00
parent 2b68833a75
commit 28d36d3809
2 changed files with 10 additions and 1 deletions

View file

@ -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

View file

@ -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;