From bf470fb7b3f434f07ef65d381103b881452197be Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 1 Dec 2004 20:42:01 +0000 Subject: 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). --- ChangeLog | 9 +++++++++ gst-libs/gst/riff/riff-media.c | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index 64ac54f3..203f68b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2004-12-01 Ronald S. Bultje + + * 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 * ext/mad/gstmad.c: (mpg123_parse_xing_header): fix xing header diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index 9dbb31da..99aa9a03 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -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 }; -- cgit v1.2.1