mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 04:51:26 +00:00
transcriberbin: Fix passthrough state change
Sync state of child bin appropriately when passthrough is disabled Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1758>
This commit is contained in:
parent
c57b6c9c0a
commit
0135c4251c
1 changed files with 5 additions and 0 deletions
|
@ -638,6 +638,11 @@ impl TranscriberBin {
|
|||
for pad in state.audio_sink_pads.values() {
|
||||
let ps = pad.imp().state.lock().unwrap();
|
||||
let pad_state = ps.as_ref().unwrap();
|
||||
pad_state.transcription_bin.set_locked_state(false);
|
||||
pad_state
|
||||
.transcription_bin
|
||||
.sync_state_with_parent()
|
||||
.unwrap();
|
||||
let audio_tee_pad = pad_state.audio_tee.request_pad_simple("src_%u").unwrap();
|
||||
let transcription_sink_pad =
|
||||
state.transcription_bin.static_pad(&pad.name()).unwrap();
|
||||
|
|
Loading…
Reference in a new issue