summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-01-23 15:26:37 +0100
committerEdward Hervey <bilboed@bilboed.com>2010-01-23 15:26:37 +0100
commit52ec4f4394c498cd0047b21be829f337ca12446c (patch)
tree8018333f6e9ae7f928e6cc039b522846634b1599
parentde736fb1d1faf0f12cb76dc63c9bb26f013ac844 (diff)
riff: YUNV is a fourcc which is also used for YUY2 raw video
-rw-r--r--gst-libs/gst/riff/riff-media.c4
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;