From 5dff488a261f1877a42c959f616d02be9a003314 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 23 Jan 2010 15:10:45 +0100 Subject: [PATCH] riff: Add mapping for On2 VP5 --- gst-libs/gst/riff/riff-media.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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'), -- 2.7.4