gst-plugins-rs/video/closedcaption
Mathieu Duponchelle ebcb8f220b transcriberbin: fix cea608mux start time selection
cea608mux is set to force-live=true, which means it will not wait for a
first buffer to select a start time.

There was however a problem when manually syncing the state of its
containing bin as we do: when doing so while the state of the containing
bin is still transitioning to Playing, the element first gets a 0 base
time distributed, before its containing bin finally gets the correct
base time and redistributes it.

In this interval cea608mux could pick a start time, then end up waiting
for ever to timeout.

This commit works around the issue by simply unlocking the state of the
inner bins but not syncing it when in Paused, as the subsequent state
change to Playing, if it happens, will trigger the state change of the
elements anyway.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2115>
2025-03-07 16:24:21 +00:00
..
examples transcriberbin: notify passthrough at the appropriate time 2024-11-05 12:23:54 +00:00
src transcriberbin: fix cea608mux start time selection 2025-03-07 16:24:21 +00:00
tests closedcaption: add CDP service information inject element 2025-02-17 10:25:01 +00:00
build.rs closedcaption: remove libcaption code entirely 2024-04-05 19:29:24 +11:00
Cargo.toml closedcaption: Update to itertools 0.14 2025-03-04 09:58:39 +02:00
LICENSE-MPL-2.0 git: replace LICENSE file symlinks with copies 2023-04-04 14:26:37 +01:00