gst-libs/gst/riff/riff-media.c: Add mappping for the KMVC (Karl Morton's Video) Codec.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add mappping for the KMVC (Karl Morton's Video) Codec.
This commit is contained in:
Edward Hervey 2008-10-15 15:28:41 +00:00
parent e68dbb884d
commit 2d1806931d
2 changed files with 15 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-10-15 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 mappping for the KMVC (Karl Morton's Video) Codec.
2008-10-15 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/typefind/gsttypefindfunctions.c: (flac_type_find):

View file

@ -632,6 +632,12 @@ gst_riff_create_video_caps (guint32 codec_fcc,
*codec_name = g_strdup ("FFmpeg lossless video codec");
break;
case GST_MAKE_FOURCC ('K', 'M', 'V', 'C'):
caps = gst_caps_new_simple ("video/x-kmvc", NULL);
if (codec_name)
*codec_name = g_strdup ("Karl Morton's video codec");
break;
default:
GST_WARNING ("Unknown video fourcc %" GST_FOURCC_FORMAT,
GST_FOURCC_ARGS (codec_fcc));
@ -1524,8 +1530,9 @@ gst_riff_create_video_template_caps (void)
GST_MAKE_FOURCC ('m', 's', 'v', 'c'),
GST_MAKE_FOURCC ('x', '2', '6', '3'),
GST_MAKE_FOURCC ('d', 'r', 'a', 'c'),
GST_MAKE_FOURCC ('F', 'F', 'V', '1')
/* FILL ME */
GST_MAKE_FOURCC ('F', 'F', 'V', '1'),
GST_MAKE_FOURCC ('K', 'M', 'V', 'C'),
/* FILL ME */
};
guint i;
GstCaps *caps, *one;