multiqueue: Recompute high-time too when flushing, not only high-id
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 29 Mar 2012 12:32:24 +0000 (14:32 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 29 Mar 2012 12:47:57 +0000 (14:47 +0200)
plugins/elements/gstmultiqueue.c

index 0054715..e882ff7 100644 (file)
@@ -1337,6 +1337,7 @@ out_flushing:
 
     /* Need to make sure wake up any sleeping pads when we exit */
     GST_MULTI_QUEUE_MUTEX_LOCK (mq);
+    compute_high_time (mq);
     compute_high_id (mq);
     wake_up_next_non_linked (mq);
     GST_MULTI_QUEUE_MUTEX_UNLOCK (mq);