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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5035>
This commit is contained in:
Thibault Saunier 2024-08-29 12:08:17 -04:00 committed by GStreamer Marge Bot
parent c1adfb2e1a
commit a39ac67d70

View file

@ -1076,7 +1076,8 @@ nle_composition_handle_message (GstBin * bin, GstMessage * message)
g_atomic_rc_box_release (q); g_atomic_rc_box_release (q);
goto drop; /* We recursed up already */
return;
} else if (gst_structure_has_name (structure, } else if (gst_structure_has_name (structure,
QUERY_PIPELINE_POSITION_STRUCT_NAME)) { QUERY_PIPELINE_POSITION_STRUCT_NAME)) {
NleCompositionQueryPipelinePosition *q; NleCompositionQueryPipelinePosition *q;