mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
riff: add support for 2vuy
It is the apple alternative for Microsofts UYVY. (http://ntta.szm.com/Tutors/FourCC.htm) Only use the UYVY for the caps to enable support in other gstreamer elements. https://bugzilla.gnome.org/show_bug.cgi?id=627924
This commit is contained in:
parent
93b2924485
commit
3a04b08437
1 changed files with 3 additions and 1 deletions
|
@ -128,8 +128,10 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
|||
break;
|
||||
|
||||
case GST_MAKE_FOURCC ('U', 'Y', 'V', 'Y'):
|
||||
case GST_MAKE_FOURCC ('2', 'v', 'u', 'y'):
|
||||
caps = gst_caps_new_simple ("video/x-raw-yuv",
|
||||
"format", GST_TYPE_FOURCC, codec_fcc, NULL);
|
||||
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('U', 'Y', 'V', 'Y'),
|
||||
NULL);
|
||||
if (codec_name)
|
||||
*codec_name = g_strdup ("Uncompressed packed YUV 4:2:2");
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue