fmp4mux: Re-work buffer dequeueing and calculations of timestamps

Especially simplify calculation of ONVIF UTC times. As a side-effect
this reduces the number of times the running times of a buffer are
calculated, and also causes streams to be interleaved correctly in ONVIF
mode if there is a non-constant UTC-to-running-time difference.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/986>
This commit is contained in:
Sebastian Dröge 2022-11-17 19:53:48 +02:00
parent 2b287bcd61
commit 6c15bba592

File diff suppressed because it is too large Load diff