mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
gtk: sink reference of internal wayland pool
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6398>
This commit is contained in:
parent
e53c3ab5db
commit
c83b69d146
1 changed files with 1 additions and 0 deletions
|
@ -855,6 +855,7 @@ gst_gtk_wayland_update_pool (GstGtkWaylandSink * self, GstAllocator * allocator)
|
|||
gst_object_unref (priv->pool);
|
||||
}
|
||||
priv->pool = gst_wl_video_buffer_pool_new ();
|
||||
gst_object_ref_sink (priv->pool);
|
||||
|
||||
config = gst_buffer_pool_get_config (priv->pool);
|
||||
gst_buffer_pool_config_set_params (config, priv->caps, size, 2, 0);
|
||||
|
|
Loading…
Reference in a new issue