collectpads2: delay collecting buffer if a pad newly set waiting

... as commented; make code correspond to it (again).
This commit is contained in:
Mark Nauwelaerts 2011-12-15 14:31:05 +01:00
parent 26e8e336cc
commit eb79c0a835

View file

@ -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;