gst-plugins-rs/utils/livesync
Sebastian Dröge 1119ed6620 livesync: Wait for the end timestamp of the previous buffer before looking at queue
Previously livesync was waiting for the start timestamp of the current
buffer after looking at the queue and right before pushing it
downstream. This meant that it generally looked too early at the queue
and especially that upstream had to provide the next buffer already at
the start timestamp of the previous one.

Instead, now wait before looking at the queue and wait for the end
timestamp of the previous buffer. Once the previous buffer has expired,
a new buffer really needs to be available or otherwise a filler buffer
has to be pushed downstream.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1250>
2023-06-20 13:01:39 +00:00
..
examples Make sure to keep around and drop bus watches after usage in all the examples 2023-04-14 12:46:43 +03:00
src livesync: Wait for the end timestamp of the previous buffer before looking at queue 2023-06-20 13:01:39 +00:00
tests Add livesync plugin 2022-12-14 18:51:36 +02:00
build.rs Add livesync plugin 2022-12-14 18:51:36 +02:00
Cargo.toml Update minimum supported Rust version to 1.66 2023-02-20 11:09:01 +02:00
LICENSE-MPL-2.0 git: replace LICENSE file symlinks with copies 2023-04-04 14:26:37 +01:00