gst-plugins-rs/generic/threadshare
François Laignel 21da753607 ts/udpsink: move sync on buffer to try_next
By moving sync on buffer ts to `try_next`, the resulting delay
can be cancelled when a state transition occurs.

To prevent item loss, this requires first peeking the incoming
item from the channel without popping it. After the delay has
elasped, we can pop the item as the last await point in
`try_next`: either it will be cancelled before popping or the
popped item will be passed on to `handle_item`.

Also add `flush` which was missing from `stop` and `flush_start`
transition actions.
2022-08-13 13:03:43 +02:00
..
examples Fix/silence a couple new clippy warnings 2022-06-30 16:07:32 +03:00
src ts/udpsink: move sync on buffer to try_next 2022-08-13 13:03:43 +02:00
tests ts: migrate elements to try_next / handle_item 2022-08-10 20:10:08 +02:00
build.rs fix-getters-calls 0.3.0 pass 2021-04-20 18:19:58 +02:00
Cargo.toml ts/Task: spawn StateMachine on ts Context 2022-08-09 19:48:06 +02:00
LICENSE-LGPLv2 Add LICENSE files to each individual crate 2020-07-10 13:06:28 +03:00