In the case where not all streams have received any data, growing the interleave
by only 100ms is too restrictive and would cause some (valid) mpeg-ts streams to
hang.
Bump up the interleave growth rate for those use-cases to 500ms per input (still
up to the limit of 5s).
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2370>
/* Progressively grow up the interleave up to 5s if some streams were inactive */
if (some_inactive && interleave <= mq->interleave) {
- interleave = MIN (5 * GST_SECOND, mq->interleave + 100 * GST_MSECOND);
+ interleave = MIN (5 * GST_SECOND, mq->interleave + 500 * GST_MSECOND);
do_update = TRUE;
}