mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
wayland: sink reference to internal pool
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6527>
This commit is contained in:
parent
e1fa26e16f
commit
124ceabafe
1 changed files with 1 additions and 0 deletions
|
@ -609,6 +609,7 @@ gst_wayland_update_pool (GstWaylandSink * self, GstAllocator * allocator)
|
|||
gst_object_unref (self->pool);
|
||||
}
|
||||
self->pool = gst_wl_video_buffer_pool_new ();
|
||||
gst_object_ref_sink (self->pool);
|
||||
|
||||
config = gst_buffer_pool_get_config (self->pool);
|
||||
gst_buffer_pool_config_set_params (config, self->caps, size, 2, 0);
|
||||
|
|
Loading…
Reference in a new issue