mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
riff: YUNV is a fourcc which is also used for YUY2 raw video
This commit is contained in:
parent
de736fb1d1
commit
52ec4f4394
1 changed files with 3 additions and 1 deletions
|
@ -112,8 +112,10 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GST_MAKE_FOURCC ('Y', 'U', 'Y', '2'):
|
case GST_MAKE_FOURCC ('Y', 'U', 'Y', '2'):
|
||||||
|
case GST_MAKE_FOURCC ('Y', 'U', 'N', 'V'):
|
||||||
caps = gst_caps_new_simple ("video/x-raw-yuv",
|
caps = gst_caps_new_simple ("video/x-raw-yuv",
|
||||||
"format", GST_TYPE_FOURCC, codec_fcc, NULL);
|
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('Y', 'U', 'Y', '2'),
|
||||||
|
NULL);
|
||||||
if (codec_name)
|
if (codec_name)
|
||||||
*codec_name = g_strdup ("Uncompressed packed YUV 4:2:2");
|
*codec_name = g_strdup ("Uncompressed packed YUV 4:2:2");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue