From e53c3ab5dba2130f66c528eedc296a94b69095b0 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:00:40 +0200 Subject: [PATCH] wayland: sink reference to internal pool Part-of: --- subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.c b/subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.c index c2620e472f..52f5e619c8 100644 --- a/subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.c +++ b/subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.c @@ -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);