multiqueue: gst_single_queue_flush unlocks the queue twice
authorMatej Knopp <matej.knopp@gmail.com>
Fri, 13 Apr 2012 12:22:34 +0000 (14:22 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 13 Apr 2012 22:57:35 +0000 (23:57 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=674044

plugins/elements/gstmultiqueue.c

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