From: Edward Hervey Date: Sat, 23 Jan 2010 14:10:45 +0000 (+0100) Subject: riff: Add mapping for On2 VP5 X-Git-Tag: 1.19.3~511^2~8825 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5dff488a261f1877a42c959f616d02be9a003314;p=platform%2Fupstream%2Fgstreamer.git riff: Add mapping for On2 VP5 --- diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index 7b02978..e8c04ec 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -783,6 +783,13 @@ gst_riff_create_video_caps (guint32 codec_fcc, *codec_name = g_strdup ("Karl Morton's video codec"); break; + case GST_MAKE_FOURCC ('v', 'p', '5', '0'): + case GST_MAKE_FOURCC ('V', 'P', '5', '0'): + caps = gst_caps_new_simple ("video/x-vp5", NULL); + if (codec_name) + *codec_name = g_strdup ("On2 VP5"); + break; + case GST_MAKE_FOURCC ('v', 'p', '6', '0'): case GST_MAKE_FOURCC ('V', 'P', '6', '0'): caps = gst_caps_new_simple ("video/x-vp6", NULL); @@ -1753,6 +1760,7 @@ gst_riff_create_video_template_caps (void) GST_MAKE_FOURCC ('d', 'r', 'a', 'c'), GST_MAKE_FOURCC ('F', 'F', 'V', '1'), GST_MAKE_FOURCC ('K', 'M', 'V', 'C'), + GST_MAKE_FOURCC ('V', 'P', '5', '0'), GST_MAKE_FOURCC ('V', 'P', '6', '0'), GST_MAKE_FOURCC ('L', 'M', '2', '0'), GST_MAKE_FOURCC ('R', 'P', 'Z', 'A'),