From c83b69d146a90d0141ad93c4dae414652fe47fed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 2 Apr 2024 18:02:26 +0200 Subject: [PATCH] gtk: sink reference of internal wayland pool Part-of: --- subprojects/gst-plugins-bad/ext/gtk/gstgtkwaylandsink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/ext/gtk/gstgtkwaylandsink.c b/subprojects/gst-plugins-bad/ext/gtk/gstgtkwaylandsink.c index fd6989cf49..8fcbabe494 100644 --- a/subprojects/gst-plugins-bad/ext/gtk/gstgtkwaylandsink.c +++ b/subprojects/gst-plugins-bad/ext/gtk/gstgtkwaylandsink.c @@ -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);