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.
This commit is contained in:
Tim-Philipp Müller 2006-09-28 14:31:41 +00:00
parent 2c72b70484
commit f0cf378a42
2 changed files with 5 additions and 1 deletions

2
common

@ -1 +1 @@
Subproject commit a8c15b7a2c75fc2bd83850cb17cb05a1ee84ecaf Subproject commit bdd0108b3540ffadeb82cee28b8867a8a6e7ae78

View file

@ -4232,6 +4232,10 @@ qtdemux_video_caps (GstQTDemux * qtdemux, guint32 fourcc,
} }
return caps; 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'):
case GST_MAKE_FOURCC ('Y', 'u', 'v', '2'): case GST_MAKE_FOURCC ('Y', 'u', 'v', '2'):
_codec ("Raw packed YUV 4:2:2"); _codec ("Raw packed YUV 4:2:2");