ext/esd/esdsink.c: Make error actually say something useful (fixes #156798).

Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_chain):
Make error actually say something useful (fixes #156798).
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add Intel Video 5.0 fourcc (IV50).
This commit is contained in:
Ronald S. Bultje 2004-12-01 20:42:01 +00:00
parent 3e3cca4adf
commit 9d58a0e106
2 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,12 @@
2004-12-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/esd/esdsink.c: (gst_esdsink_chain):
Make error actually say something useful (fixes #156798).
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add Intel Video 5.0 fourcc (IV50).
2004-12-01 Christophe Fergeau <teuf@gnome.org>
* ext/mad/gstmad.c: (mpg123_parse_xing_header): fix xing header

View file

@ -297,6 +297,13 @@ gst_riff_create_video_caps_with_data (guint32 codec_fcc,
*codec_name = g_strdup ("Xan Wing Commander 4");
break;
case GST_MAKE_FOURCC ('I', 'V', '5', '0'):
caps = gst_caps_new_simple ("video/x-intel",
"ivversion", G_TYPE_INT, 5, NULL);
if (codec_name)
*codec_name = g_strdup ("Intel Video 5");
break;
default:
GST_WARNING ("Unknown video fourcc " GST_FOURCC_FORMAT,
GST_FOURCC_ARGS (codec_fcc));
@ -584,6 +591,7 @@ gst_riff_create_video_template_caps (void)
GST_MAKE_FOURCC ('R', 'L', 'E', ' '),
GST_MAKE_FOURCC ('D', 'I', 'B', ' '),
GST_MAKE_FOURCC ('X', 'x', 'a', 'n'),
GST_MAKE_FOURCC ('I', 'V', '5', '0'),
/* FILL ME */
0
};