gst/qtdemux/qtdemux.c: Add fourccs for MPEG2 HDV streams. Fixes #479960.
authorSebastian Dröge <slomo@circular-chaos.org>
Tue, 25 Sep 2007 05:03:58 +0000 (05:03 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 25 Sep 2007 05:03:58 +0000 (05:03 +0000)
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.

ChangeLog
gst/qtdemux/qtdemux.c

index 052c53e..75665cf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index 6be21a9..92193f6 100644 (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");