mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
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:
parent
c1adfb2e1a
commit
a39ac67d70
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue