mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 10:55:34 +00:00
multiqueue: never unref queries we do not own
The `query` argument of gst_pad_query is "transfer none". Query objects are "borrowed" by the pad query handlers and those should never unref them. This was leading to double freed queries in a very racy way with nested GESTimelines.
This commit is contained in:
parent
80c5dacfb3
commit
a5d22be74b
1 changed files with 1 additions and 1 deletions
|
@ -2049,7 +2049,7 @@ next:
|
|||
|
||||
out_flushing:
|
||||
{
|
||||
if (object)
|
||||
if (object && !GST_IS_QUERY (object))
|
||||
gst_mini_object_unref (object);
|
||||
|
||||
GST_MULTI_QUEUE_MUTEX_LOCK (mq);
|
||||
|
|
Loading…
Reference in a new issue