multiqueue: gst_single_queue_flush unlocks the queue twice

https://bugzilla.gnome.org/show_bug.cgi?id=674044
This commit is contained in:
Matej Knopp 2012-04-13 14:22:34 +02:00 committed by Tim-Philipp Müller
parent 465282079d
commit c4b71c2574

View file

@ -755,7 +755,6 @@ gst_single_queue_flush (GstMultiQueue * mq, GstSingleQueue * sq, gboolean flush)
gst_data_queue_set_flushing (sq->queue, TRUE); gst_data_queue_set_flushing (sq->queue, TRUE);
sq->flushing = TRUE; sq->flushing = TRUE;
GST_MULTI_QUEUE_MUTEX_UNLOCK (mq);
/* wake up non-linked task */ /* wake up non-linked task */
GST_LOG_OBJECT (mq, "SingleQueue %d : waking up eventually waiting task", GST_LOG_OBJECT (mq, "SingleQueue %d : waking up eventually waiting task",