gst/qtdemux/qtdemux.c: Add 'dvsd' and 'dv25' to list of possible fourcc values for DV Video.

Original commit message from CVS:
Reviewed by : Edward Hervey <edward@fluendo.com>
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add 'dvsd' and 'dv25' to list of possible fourcc values for DV Video.
Add image/png for fourcc 'png '
This commit is contained in:
Edward Hervey 2006-02-22 09:33:25 +00:00
parent 231e251d94
commit 091e939344
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2006-02-19 Jan Gerber <j@bootlab.org>
Reviewed by : Edward Hervey <edward@fluendo.com>
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add 'dvsd' and 'dv25' to list of possible fourcc values for DV Video.
Add image/png for fourcc 'png '
2006-02-21 Tim-Philipp Müller <tim at centricular dot net> 2006-02-21 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac: * configure.ac:

View file

@ -3027,6 +3027,9 @@ qtdemux_video_caps (GstQTDemux * qtdemux, guint32 fourcc,
const guint8 * stsd_data, const gchar ** codec_name) const guint8 * stsd_data, const gchar ** codec_name)
{ {
switch (fourcc) { switch (fourcc) {
case GST_MAKE_FOURCC ('p', 'n', 'g', ' '):
_codec ("PNG still images");
return gst_caps_from_string ("image/png");
case GST_MAKE_FOURCC ('j', 'p', 'e', 'g'): case GST_MAKE_FOURCC ('j', 'p', 'e', 'g'):
_codec ("JPEG still images"); _codec ("JPEG still images");
return gst_caps_from_string ("image/jpeg"); return gst_caps_from_string ("image/jpeg");
@ -3104,6 +3107,8 @@ qtdemux_video_caps (GstQTDemux * qtdemux, guint32 fourcc,
return gst_caps_from_string ("video/x-indeo, indeoversion=(int)3"); return gst_caps_from_string ("video/x-indeo, indeoversion=(int)3");
case GST_MAKE_FOURCC ('d', 'v', 'c', 'p'): case GST_MAKE_FOURCC ('d', 'v', 'c', 'p'):
case GST_MAKE_FOURCC ('d', 'v', 'c', ' '): case GST_MAKE_FOURCC ('d', 'v', 'c', ' '):
case GST_MAKE_FOURCC ('d', 'v', 's', 'd'):
case GST_MAKE_FOURCC ('d', 'v', '2', '5'):
_codec ("DV Video"); _codec ("DV Video");
return gst_caps_from_string ("video/x-dv, systemstream=(boolean)false"); return gst_caps_from_string ("video/x-dv, systemstream=(boolean)false");
case GST_MAKE_FOURCC ('s', 'm', 'c', ' '): case GST_MAKE_FOURCC ('s', 'm', 'c', ' '):