mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-23 08:06:18 +00:00
transcriberbin: fix linking of user-provided transcriber
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1836>
This commit is contained in:
parent
ed32f96fa3
commit
5501eacb6c
1 changed files with 2 additions and 1 deletions
|
@ -737,7 +737,8 @@ impl TranscriberBin {
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(ref transcriber) = pad_state.transcriber {
|
if let Some(ref transcriber) = pad_state.transcriber {
|
||||||
state.transcription_bin.add(transcriber)?;
|
gst::debug!(CAT, imp = self, "Linking new transcriber {transcriber:?}");
|
||||||
|
pad_state.transcription_bin.add(transcriber)?;
|
||||||
transcriber.sync_state_with_parent().unwrap();
|
transcriber.sync_state_with_parent().unwrap();
|
||||||
pad_state.transcriber_aconv.link(transcriber)?;
|
pad_state.transcriber_aconv.link(transcriber)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue