riff: Add support for VP6F (On2 VP6 Flash variant)

This commit is contained in:
Edward Hervey 2010-06-09 22:34:24 +02:00
parent 5ad2066f93
commit 1d21ce0da2

View file

@ -811,6 +811,13 @@ gst_riff_create_video_caps (guint32 codec_fcc,
*codec_name = g_strdup ("On2 VP6"); *codec_name = g_strdup ("On2 VP6");
break; break;
case GST_MAKE_FOURCC ('V', 'P', '6', 'F'):
case GST_MAKE_FOURCC ('v', 'p', '6', 'f'):
caps = gst_caps_new_simple ("video/x-vp6-flash", NULL);
if (codec_name)
*codec_name = g_strdup ("On2 VP6");
break;
case GST_MAKE_FOURCC ('v', 'p', '7', '0'): case GST_MAKE_FOURCC ('v', 'p', '7', '0'):
case GST_MAKE_FOURCC ('V', 'P', '7', '0'): case GST_MAKE_FOURCC ('V', 'P', '7', '0'):
caps = gst_caps_new_simple ("video/x-vp7", NULL); caps = gst_caps_new_simple ("video/x-vp7", NULL);
@ -1789,6 +1796,7 @@ gst_riff_create_video_template_caps (void)
GST_MAKE_FOURCC ('K', 'M', 'V', 'C'), GST_MAKE_FOURCC ('K', 'M', 'V', 'C'),
GST_MAKE_FOURCC ('V', 'P', '5', '0'), GST_MAKE_FOURCC ('V', 'P', '5', '0'),
GST_MAKE_FOURCC ('V', 'P', '6', '0'), GST_MAKE_FOURCC ('V', 'P', '6', '0'),
GST_MAKE_FOURCC ('V', 'P', '6', 'F'),
GST_MAKE_FOURCC ('V', 'P', '7', '0'), GST_MAKE_FOURCC ('V', 'P', '7', '0'),
GST_MAKE_FOURCC ('V', 'P', '8', '0'), GST_MAKE_FOURCC ('V', 'P', '8', '0'),
GST_MAKE_FOURCC ('L', 'M', '2', '0'), GST_MAKE_FOURCC ('L', 'M', '2', '0'),