From eb79c0a835f72eadc8c5ae82c7ced18333262dc5 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Thu, 15 Dec 2011 14:31:05 +0100 Subject: [PATCH] collectpads2: delay collecting buffer if a pad newly set waiting ... as commented; make code correspond to it (again). --- libs/gst/base/gstcollectpads2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/gst/base/gstcollectpads2.c b/libs/gst/base/gstcollectpads2.c index 0505da6..932e3c9 100644 --- a/libs/gst/base/gstcollectpads2.c +++ b/libs/gst/base/gstcollectpads2.c @@ -1527,6 +1527,7 @@ gst_collect_pads2_default_collected (GstCollectPads2 * pads, gpointer user_data) * so give another thread a chance to deliver a possibly * older buffer; don't charge on yet with the current oldest */ ret = GST_FLOW_OK; + goto done; } best = pads->earliest_data; -- 2.7.4