livesync: Fix #452
-
livesync: Split
fallback_duration
intoin_
andout_duration
Make it independent of thelatency
; this was inconsistent anyway, where the default latency of zero got you a fallback duration of 100 ms and something else got you half the latency.Maintain a separate duration for the
in
and theout
side so we change the duration of repeat buffers after a caps change, not just before. -
livesync: Keep existing buffer duration in some cases
Resize a repeat buffer only if caps gave us a duration to use, or we consider its current duration unreasonable.In particular, for audio streams we should prefer reusing the buffer size upstream gave us, as we did before 6633cc40.
-
livesync: Remove the
stop
from outgoing segments
Our buffer duplication can extend a segment indefinitely.Fixes: #452 (closed)
Merge request reports
Activity
- Resolved by Jan Alexander Steffens
mentioned in merge request !1371 (closed)
- Resolved by Jan Alexander Steffens
- Resolved by Guillaume Desmottes
@gdesmott Does this fix #452 (closed) for you?
mentioned in issue #452 (closed)
assigned to @gstreamer-merge-bot
mentioned in commit heftig/gst-plugins-rs@f1ba498b
mentioned in commit heftig/gst-plugins-rs@59beade0
mentioned in commit heftig/gst-plugins-rs@e3e58ac0
mentioned in commit slomo/gst-plugins-rs@5bef0503
mentioned in commit slomo/gst-plugins-rs@182ed39a
mentioned in commit slomo/gst-plugins-rs@f4cca3cc