gst/qtdemux/qtdemux.c: Add fourccs for MPEG2 HDV streams. Fixes #479960.

Original commit message from CVS:
Patch by: <j at bootlab dot org>
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add fourccs for MPEG2 HDV streams. Fixes #479960.
This commit is contained in:
Sebastian Dröge 2007-09-25 05:03:58 +00:00
parent a67ced8ff7
commit 94f68153dd
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
Patch by: <j at bootlab dot org>
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add fourccs for MPEG2 HDV streams. Fixes #479960.
2007-09-23 Stefan Kost <ensonic@users.sf.net>
* sys/oss/gstosshelper.c:

View file

@ -3949,6 +3949,13 @@ qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
caps = gst_caps_from_string ("video/mpeg, "
"systemstream = (boolean) false, " "mpegversion = (int) 1");
break;
case GST_MAKE_FOURCC ('h', 'd', 'v', '2'): // HDV 1080i60
case GST_MAKE_FOURCC ('h', 'd', 'v', '3'): // HDV 1080i50
case GST_MAKE_FOURCC ('m', 'x', '5', 'p'): // MPEG IMX 625/50 (50Mb/s)
_codec ("MPEG-2 video");
caps = gst_caps_from_string ("video/mpeg, "
"systemstream = (boolean) false, " "mpegversion = (int) 2");
break;
case GST_MAKE_FOURCC ('g', 'i', 'f', ' '):
_codec ("GIF still images");
caps = gst_caps_from_string ("image/gif");