gst-plugins-rs/utils
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
..
fallbackswitch Clean up usage of pad probes 2023-10-17 08:44:06 +03:00
livesync livesync: Handle flags and late buffer patching after queueing 2023-10-25 11:52:41 +02:00
togglerecord Clean up usage of pad probes 2023-10-17 08:44:06 +03:00
tracers Update versions to 0.12.0-alpha.1 2023-08-10 17:21:11 +03:00
uriplaylistbin Clean up usage of pad probes 2023-10-17 08:44:06 +03:00