mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 03:21:00 +00:00
transcriberbin: add debug
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1831>
This commit is contained in:
parent
ccb9610d6b
commit
8fae519c8d
1 changed files with 11 additions and 0 deletions
|
@ -62,6 +62,12 @@ impl TranscriptionChannel {
|
|||
}
|
||||
};
|
||||
|
||||
gst::debug!(
|
||||
CAT,
|
||||
obj = transcriber,
|
||||
"Linking transcriber source pad {transcriber_src_pad:?} to channel"
|
||||
);
|
||||
|
||||
transcriber_src_pad.link(&self.bin.static_pad("sink").unwrap())?;
|
||||
|
||||
Ok(())
|
||||
|
@ -710,6 +716,11 @@ impl TranscriberBin {
|
|||
);
|
||||
|
||||
if let Some(old_transcriber) = old_transcriber {
|
||||
gst::debug!(
|
||||
CAT,
|
||||
imp = self,
|
||||
"Unlinking old transcriber {old_transcriber:?}"
|
||||
);
|
||||
pad_state.transcriber_aconv.unlink(old_transcriber);
|
||||
for channel in pad_state.transcription_channels.values() {
|
||||
old_transcriber.unlink(&channel.bin);
|
||||
|
|
Loading…
Reference in a new issue