gst-plugins-rs/utils
Sebastian Dröge bd2a039c8d livesync: Use the actual output buffer duration of gap filler buffers
Otherwise the following can happen:

  - 25fps stream
  - buffer with PTS 0ms, duration 20ms arrives, is output
  - buffer with PTS 40ms, duration 20ms arrives
  - is considered early because 20ms < 40ms
  - filler buffer with PTS 20ms and 40ms duration is output
  - buffer with PTS 40ms is output

After this change no filler would be inserted because the gap is smaller
than the duration of a filler buffer.

Also, previously the 40ms duration would be used if a filler was
previously output because in that case the cached output buffer duration
would've already been patched from 20ms to 40ms.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1647>
2024-07-02 17:15:58 +03:00
..
fallbackswitch Use Option::is_some_and(...) instead of Option::map_or(false, ...) 2024-06-19 13:03:37 +00:00
livesync livesync: Use the actual output buffer duration of gap filler buffers 2024-07-02 17:15:58 +03:00
togglerecord Use Option::is_some_and(...) instead of Option::map_or(false, ...) 2024-06-19 13:03:37 +00:00
tracers tracers: Add a pad push durations tracer 2024-04-17 16:20:43 +03:00
uriplaylistbin uriplaylistbin: disable racy test 2024-04-12 10:17:40 +00:00