gtk: sink reference of internal wayland pool

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6398>
This commit is contained in:
Víctor Manuel Jáquez Leal 2024-04-02 18:02:26 +02:00 committed by GStreamer Marge Bot
parent e53c3ab5db
commit c83b69d146

View file

@ -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);