From: Hyunil Date: Thu, 22 Jun 2017 01:10:02 +0000 (+0900) Subject: Waylandsink : Removing unsupported video formats from video caps of TIZEN X-Git-Tag: accepted/tizen/unified/20220217.153506~2^2~10^2~9^2~12^2~2^2~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9317c5d8d5e636d0797255960da295ccd827f22d;p=platform%2Fupstream%2Fgstreamer.git Waylandsink : Removing unsupported video formats from video caps of TIZEN Change-Id: I461c414be916e74caa50583447ff283bd9121b96 Signed-off-by: Hyunil --- diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index 7eacd2b..bcc7813 100755 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -184,12 +184,13 @@ static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE +#ifdef TIZEN_FEATURE_WLSINK_ENHANCEMENT + ("{BGRx, BGRA, I420, NV12, NV12MT, NV21, SN12, ST12, SN21, SR32, S420}")) +#else ("{ BGRx, BGRA, RGBx, xBGR, xRGB, RGBA, ABGR, ARGB, RGB, BGR, " "RGB16, BGR16, YUY2, YVYU, UYVY, AYUV, NV12, NV21, NV16, " -#ifdef TIZEN_FEATURE_WLSINK_ENHANCEMENT - "SN12, ST12, SN21, SR32, S420," -#endif "YUV9, YVU9, Y41B, I420, YV12, Y42B, v308 }")) +#endif ); static void gst_wayland_sink_get_property (GObject * object,