mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
multiqueue: Fix hanging if shut down while handling a serialized query
https://bugzilla.gnome.org/show_bug.cgi?id=721253
This commit is contained in:
parent
e02c00a58a
commit
1de533735b
1 changed files with 3 additions and 0 deletions
|
@ -740,6 +740,9 @@ gst_multi_queue_change_state (GstElement * element, GstStateChange transition)
|
|||
sq = (GstSingleQueue *) tmp->data;
|
||||
sq->flushing = TRUE;
|
||||
g_cond_signal (&sq->turn);
|
||||
|
||||
sq->last_query = FALSE;
|
||||
g_cond_signal (&sq->query_handled);
|
||||
}
|
||||
GST_MULTI_QUEUE_MUTEX_UNLOCK (mqueue);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue