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/979>
This commit is contained in:
Sebastian Dröge 2022-11-17 19:53:48 +02:00
parent 3003987c3a
commit c553ac7402

File diff suppressed because it is too large Load diff