mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
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.
This commit is contained in:
parent
ff579a7c8f
commit
312c8c9f7c
1 changed files with 1 additions and 1 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue