From 312c8c9f7cd6c5f8c673fbe09995b0b2887343cc Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Thu, 29 Sep 2016 12:49:39 -0400 Subject: [PATCH] waylandsink: Properly configure internal pool There was a small omission in the code. It still worked, but the pool configuration may not have been optimimal. --- ext/wayland/gstwaylandsink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index 6e7510b2be..4b39ae1f78 100644 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -670,7 +670,7 @@ gst_wayland_sink_show_frame (GstVideoSink * vsink, GstBuffer * buffer) config = gst_buffer_pool_get_config (sink->pool); gst_buffer_pool_config_get_params (config, &caps, &size, NULL, NULL); - gst_buffer_pool_config_set_params (config, caps, size, 0, 0); + gst_buffer_pool_config_set_params (config, caps, size, 2, 0); /* This is a video pool, it should not fail with basic setings */ if (!gst_buffer_pool_set_config (sink->pool, config) || -- 2.34.1