From a39ac67d7073895d57d7416fe2503e2a55b40855 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 29 Aug 2024 12:08:17 -0400 Subject: [PATCH] nlecomposition: Fix extra bus message unref We were dropping a message for which we already passed our reference while linking up the method. Part-of: --- subprojects/gst-editing-services/plugins/nle/nlecomposition.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-editing-services/plugins/nle/nlecomposition.c b/subprojects/gst-editing-services/plugins/nle/nlecomposition.c index 20d35c56a5..39ddec6b96 100644 --- a/subprojects/gst-editing-services/plugins/nle/nlecomposition.c +++ b/subprojects/gst-editing-services/plugins/nle/nlecomposition.c @@ -1076,7 +1076,8 @@ nle_composition_handle_message (GstBin * bin, GstMessage * message) g_atomic_rc_box_release (q); - goto drop; + /* We recursed up already */ + return; } else if (gst_structure_has_name (structure, QUERY_PIPELINE_POSITION_STRUCT_NAME)) { NleCompositionQueryPipelinePosition *q;