gst/qtdemux/qtdemux.c: Add support for 'yv12' fourcc.
authorTim-Philipp Müller <tim@centricular.net>
Thu, 28 Sep 2006 14:31:41 +0000 (14:31 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 28 Sep 2006 14:31:41 +0000 (14:31 +0000)
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add support for 'yv12' fourcc.

common
gst/qtdemux/qtdemux.c

diff --git a/common b/common
index a8c15b7..bdd0108 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit a8c15b7a2c75fc2bd83850cb17cb05a1ee84ecaf
+Subproject commit bdd0108b3540ffadeb82cee28b8867a8a6e7ae78
index 2b0e753..cc60e4b 100644 (file)
@@ -4232,6 +4232,10 @@ qtdemux_video_caps (GstQTDemux * qtdemux, guint32 fourcc,
       }
       return caps;
     }
+    case GST_MAKE_FOURCC ('y', 'v', '1', '2'):
+      _codec ("Raw planar YUV 4:2:0");
+      return gst_caps_from_string ("video/x-raw-yuv, "
+          "format = (fourcc) I420");
     case GST_MAKE_FOURCC ('y', 'u', 'v', '2'):
     case GST_MAKE_FOURCC ('Y', 'u', 'v', '2'):
       _codec ("Raw packed YUV 4:2:2");