From: Philipp Zabel
Date: Fri, 12 Feb 2016 13:21:27 +0000 (+0100)
Subject: kmssink: enable UYVY, YUY2, and YVYU (interleaved YUV 4:2:2) formats
X-Git-Tag: 1.19.3~507^2~6733
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=2f51985191aeeb384c853eba563dd54726aa7fac;p=platform%2Fupstream%2Fgstreamer.git
kmssink: enable UYVY, YUY2, and YVYU (interleaved YUV 4:2:2) formats
https://bugzilla.gnome.org/show_bug.cgi?id=761059
---
diff --git a/sys/kms/gstkmsutils.c b/sys/kms/gstkmsutils.c
index e7f605d..ddf8d2d 100644
--- a/sys/kms/gstkmsutils.c
+++ b/sys/kms/gstkmsutils.c
@@ -53,8 +53,9 @@ static const struct
DEF_FMT (ABGR8888, ABGR),
DEF_FMT (XBGR8888, xBGR),
#endif
- /* DEF_FMT (YUYV, ???), */
- /* DEF_FMT (YVYU, ???), */
+ DEF_FMT (UYVY, UYVY),
+ DEF_FMT (YUYV, YUY2),
+ DEF_FMT (YVYU, YVYU),
DEF_FMT (YUV420, I420),
DEF_FMT (YVU420, YV12),
DEF_FMT (YUV422, Y42B),