waylandsink : restrict use of wayland buffer pool 32/161032/1 accepted/tizen/unified/20171124.064647 submit/tizen/20171121.080556 submit/tizen/20171123.115447
authorHyunil <hyunil46.park@samsung.com>
Tue, 21 Nov 2017 06:30:08 +0000 (15:30 +0900)
committerHyunil <hyunil46.park@samsung.com>
Tue, 21 Nov 2017 06:30:08 +0000 (15:30 +0900)
Change-Id: I02ba511d657dc4c59414c15ff219d3cf50c6ecd8
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
ext/wayland/gstwaylandsink.c

index 35c5069..e223b97 100755 (executable)
@@ -1892,6 +1892,9 @@ gst_wayland_sink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
     if (sink->display->is_native_format == TRUE)
       return FALSE;
 
+    if (!gst_wl_window_is_toplevel (sink->window))
+      return FALSE;
+
     gst_query_parse_allocation (query, &caps, &need_pool);
 
     if (caps == NULL) {