gstreamer: multiqueue: gst_single_queue_flush unlocks the queue twice

Tim Müller tpm at kemper.freedesktop.org
Fri Apr 13 16:03:07 PDT 2012


Module: gstreamer
Branch: master
Commit: c4b71c25749a49def9c9d7c340b1ed866c05506c
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=c4b71c25749a49def9c9d7c340b1ed866c05506c

Author: Matej Knopp <matej.knopp at gmail.com>
Date:   Fri Apr 13 14:22:34 2012 +0200

multiqueue: gst_single_queue_flush unlocks the queue twice

https://bugzilla.gnome.org/show_bug.cgi?id=674044

---

 plugins/elements/gstmultiqueue.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/plugins/elements/gstmultiqueue.c b/plugins/elements/gstmultiqueue.c
index 09db153..bd3b69c 100644
--- a/plugins/elements/gstmultiqueue.c
+++ b/plugins/elements/gstmultiqueue.c
@@ -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",



More information about the gstreamer-commits mailing list