mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-12 17:36:44 +00:00
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:
parent
6b447acc3c
commit
0eb13f146f
|
@ -711,7 +711,6 @@ gst_input_selector_wait_running_time (GstInputSelector * sel,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selpad != active_selpad && !sel->flushing && !selpad->flushing &&
|
if (selpad != active_selpad && !sel->flushing && !selpad->flushing &&
|
||||||
(sel->cache_buffers || active_selpad->pushed) &&
|
|
||||||
(sel->blocked || cur_running_time == -1
|
(sel->blocked || cur_running_time == -1
|
||||||
|| running_time >= cur_running_time)) {
|
|| running_time >= cur_running_time)) {
|
||||||
if (!sel->blocked) {
|
if (!sel->blocked) {
|
||||||
|
|
Loading…
Reference in a new issue