multiqueue: Don't automatically enter the buffering state when use-buffering is set.
authorDuncan Palmer <dpalmer@digisoft.tv>
Tue, 10 Mar 2015 02:57:44 +0000 (12:57 +1000)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 10 Apr 2015 13:40:00 +0000 (10:40 -0300)
There is no reason I can see to set mq->buffering = TRUE when
use_buffering is set; the code here also calls update_buffering(), which
will set mq->buffering = TRUE if this is warranted because of low buffer
levels.

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

plugins/elements/gstmultiqueue.c

index 37fa6f0..e328fc5 100644 (file)
@@ -585,7 +585,6 @@ gst_multi_queue_set_property (GObject * object, guint prop_id,
 
         GST_MULTI_QUEUE_MUTEX_LOCK (mq);
 
-        mq->buffering = TRUE;
         tmp = mq->queues;
         while (tmp) {
           GstSingleQueue *q = (GstSingleQueue *) tmp->data;