inputselector: Wait for other streams to advance on unselected pads

Otherwise we end up dropping a lot of data in the case where data starts
arriving on the non-selected pad, resulting in big gaps in stream switching
This commit is contained in:
Edward Hervey 2012-08-14 18:44:38 +02:00
parent 6b447acc3c
commit 0eb13f146f

View file

@ -711,7 +711,6 @@ gst_input_selector_wait_running_time (GstInputSelector * sel,
}
if (selpad != active_selpad && !sel->flushing && !selpad->flushing &&
(sel->cache_buffers || active_selpad->pushed) &&
(sel->blocked || cur_running_time == -1
|| running_time >= cur_running_time)) {
if (!sel->blocked) {