Waylandsink : Removing unsupported video formats from video caps of TIZEN 19/135319/1
authorHyunil <hyunil46.park@samsung.com>
Thu, 22 Jun 2017 01:10:02 +0000 (10:10 +0900)
committerHyunil <hyunil46.park@samsung.com>
Thu, 22 Jun 2017 01:10:02 +0000 (10:10 +0900)
Change-Id: I461c414be916e74caa50583447ff283bd9121b96
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
ext/wayland/gstwaylandsink.c

index 7eacd2b..bcc7813 100755 (executable)
@@ -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,