gst-libs/gst/riff/riff-media.c: Add mapping for VP6 in avi/riff.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add mapping for VP6 in avi/riff.
This commit is contained in:
Edward Hervey 2008-12-12 07:15:22 +00:00
parent 7a83664099
commit c4295a07b9
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2008-12-12 Edward Hervey <edward.hervey@collabora.co.uk>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add mapping for VP6 in avi/riff.
2008-12-11 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/subparse/samiparse.c: (sami_context_push_state),

View file

@ -642,6 +642,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', '6', '0'):
case GST_MAKE_FOURCC ('V', 'P', '6', '0'):
caps = gst_caps_new_simple ("video/x-vp6", NULL);
if (codec_name)
*codec_name = g_strdup ("On2 VP6");
break;
default:
GST_WARNING ("Unknown video fourcc %" GST_FOURCC_FORMAT,
GST_FOURCC_ARGS (codec_fcc));
@ -1546,6 +1553,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', '6', '0'),
/* FILL ME */
};
guint i;