mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 01:31:03 +00:00
multiqueue: Do not unref the query we get in pad->query
We do not own any ref to queries when running them. If we end up processing the query from the streaming thread, it means that it was a serialized query, and the query is being waited to be processed on the sinkpad streaming thread, thread which owns the reference. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7767>
This commit is contained in:
parent
0942dc57dd
commit
cbf204e4ae
1 changed files with 0 additions and 1 deletions
|
@ -2078,7 +2078,6 @@ gst_single_queue_push_one (GstMultiQueue * mq, GstSingleQueue * sq,
|
|||
|
||||
if (G_UNLIKELY (*allow_drop)) {
|
||||
GST_DEBUG_ID (sq->debug_id, "Dropping EOS query %p", query);
|
||||
gst_query_unref (query);
|
||||
res = FALSE;
|
||||
} else {
|
||||
res = gst_pad_peer_query (srcpad, query);
|
||||
|
|
Loading…
Reference in a new issue