multiqueue: If we only have a single pad, don't consider all pads not linked and...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 20 Feb 2014 14:34:36 +0000 (15:34 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 20 Feb 2014 14:35:11 +0000 (15:35 +0100)
plugins/elements/gstmultiqueue.c

index f7ed0ea..df3b6fe 100644 (file)
@@ -1943,6 +1943,9 @@ single_queue_overrun_cb (GstDataQueue * dq, GstSingleQueue * sq)
     }
   }
 
+  if (!mq->queues || !mq->queues->next)
+    all_not_linked = FALSE;
+
   /* if hard limits are not reached then we allow one more buffer in the full
    * queue, but only if any of the other singelqueues are empty or all are
    * not linked */