transcriberbin: Set start-time-selection=first to cea608mux

We don't want to modify running time of caption stream

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1155>
This commit is contained in:
Seungha Yang 2023-04-01 22:58:20 +09:00 committed by GStreamer Marge Bot
parent 4000d60305
commit 8576af247b

View file

@ -130,7 +130,9 @@ impl TranscriberBin {
.property("max-size-time", 5_000_000_000u64)
.property_from_str("leaky", "downstream")
.build()?;
let ccmux = gst::ElementFactory::make("cea608mux").build()?;
let ccmux = gst::ElementFactory::make("cea608mux")
.property_from_str("start-time-selection", "first")
.build()?;
let ccconverter = gst::ElementFactory::make("ccconverter").build()?;
state.transcription_bin.add_many([