diff options
author | Edward Hervey <bilboed@bilboed.com> | 2010-01-23 15:26:37 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2010-01-23 15:26:37 +0100 |
commit | 52ec4f4394c498cd0047b21be829f337ca12446c (patch) | |
tree | 8018333f6e9ae7f928e6cc039b522846634b1599 | |
parent | de736fb1d1faf0f12cb76dc63c9bb26f013ac844 (diff) |
riff: YUNV is a fourcc which is also used for YUY2 raw video
-rw-r--r-- | gst-libs/gst/riff/riff-media.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index e9ff5959a..3bea8b9ca 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -112,8 +112,10 @@ gst_riff_create_video_caps (guint32 codec_fcc, break; 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", - "format", GST_TYPE_FOURCC, codec_fcc, NULL); + "format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('Y', 'U', 'Y', '2'), + NULL); if (codec_name) *codec_name = g_strdup ("Uncompressed packed YUV 4:2:2"); break; |