mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 04:51:26 +00:00
transcriberbin: fix linking of user-provided transcriber
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1831>
This commit is contained in:
parent
5eccb180be
commit
115e12c09a
1 changed files with 2 additions and 1 deletions
|
@ -737,7 +737,8 @@ impl TranscriberBin {
|
|||
}
|
||||
|
||||
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();
|
||||
pad_state.transcriber_aconv.link(transcriber)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue