From f0cf378a420ef88fa1ed59a1fd32188863610592 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 28 Sep 2006 14:31:41 +0000 Subject: [PATCH] gst/qtdemux/qtdemux.c: Add support for 'yv12' fourcc. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add support for 'yv12' fourcc. --- common | 2 +- gst/qtdemux/qtdemux.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/common b/common index a8c15b7..bdd0108 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit a8c15b7a2c75fc2bd83850cb17cb05a1ee84ecaf +Subproject commit bdd0108b3540ffadeb82cee28b8867a8a6e7ae78 diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 2b0e753..cc60e4b 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -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"); -- 2.7.4