gst-plugins-rs/utils/livesync
Jan Alexander Steffens (heftig) 2f36bd5d77 livesync: Handle flags and late buffer patching after queueing
This makes the chain function almost independent of the output state. We
still do the early discard check with `buffer_is_backwards` so we don't
try to queue buffers we can't use, allowing us to fast-forward upstream
without blocking on the src task.

Don't accept `LateOverThreshold` buffers when we have `pending_caps` or
a `pending_segment`. We need to apply these first before we can sensibly
patch buffers from the new stream.

Deduplicate most of the output buffer patching code into a new
`patch_output_buffer` method.

For: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/450
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1369>
2023-10-25 11:52:41 +02:00
..
examples Adapt to glib::Continue rename 2023-07-06 17:50:49 +03:00
src livesync: Handle flags and late buffer patching after queueing 2023-10-25 11:52:41 +02: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 versions to 0.12.0-alpha.1 2023-08-10 17:21:11 +03:00
LICENSE-MPL-2.0 git: replace LICENSE file symlinks with copies 2023-04-04 14:26:37 +01:00