From: Nicolas Dufresne Date: Sat, 15 Aug 2015 12:31:15 +0000 (+0200) Subject: glsink: Enable sync meta on pools we offer X-Git-Tag: 1.16.2~686^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9e27180ec18c62d35dd63014cc4c9facdecf41e;p=platform%2Fupstream%2Fgst-plugins-good.git glsink: Enable sync meta on pools we offer As the upload is asynchronous, we need to enable the sync meta to gain correct rendering. The buffer pool receiver don't know about that. --- diff --git a/ext/gtk/gstgtkglsink.c b/ext/gtk/gstgtkglsink.c index 16797d3..d59880c 100644 --- a/ext/gtk/gstgtkglsink.c +++ b/ext/gtk/gstgtkglsink.c @@ -249,6 +249,9 @@ gst_gtk_gl_sink_propose_allocation (GstBaseSink * bsink, GstQuery * query) config = gst_buffer_pool_get_config (pool); gst_buffer_pool_config_set_params (config, caps, size, 0, 0); + gst_buffer_pool_config_add_option (config, + GST_BUFFER_POOL_OPTION_GL_SYNC_META); + if (!gst_buffer_pool_set_config (pool, config)) goto config_failed;