mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-15 04:15:17 +00:00
transcriberbin: remove leftover debug dot dumps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/531>
This commit is contained in:
parent
afdd000d92
commit
1372ffe0e1
1 changed files with 2 additions and 6 deletions
|
@ -222,8 +222,6 @@ impl TranscriberBin {
|
||||||
|
|
||||||
self.construct_transcription_bin(element, state)?;
|
self.construct_transcription_bin(element, state)?;
|
||||||
|
|
||||||
element.debug_to_dot_file(gst::DebugGraphDetails::all(), "Initial");
|
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -282,6 +280,8 @@ impl TranscriberBin {
|
||||||
let passthrough = self.settings.lock().unwrap().passthrough;
|
let passthrough = self.settings.lock().unwrap().passthrough;
|
||||||
|
|
||||||
if passthrough {
|
if passthrough {
|
||||||
|
gst_debug!(CAT, obj: element, "disabling transcription bin");
|
||||||
|
|
||||||
let bin_sink_pad = state.transcription_bin.static_pad("sink").unwrap();
|
let bin_sink_pad = state.transcription_bin.static_pad("sink").unwrap();
|
||||||
if let Some(audio_tee_pad) = bin_sink_pad.peer() {
|
if let Some(audio_tee_pad) = bin_sink_pad.peer() {
|
||||||
audio_tee_pad.unlink(&bin_sink_pad).unwrap();
|
audio_tee_pad.unlink(&bin_sink_pad).unwrap();
|
||||||
|
@ -296,8 +296,6 @@ impl TranscriberBin {
|
||||||
|
|
||||||
state.transcription_bin.set_locked_state(true);
|
state.transcription_bin.set_locked_state(true);
|
||||||
state.transcription_bin.set_state(gst::State::Null).unwrap();
|
state.transcription_bin.set_state(gst::State::Null).unwrap();
|
||||||
|
|
||||||
element.debug_to_dot_file(gst::DebugGraphDetails::all(), "after-disable");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -342,8 +340,6 @@ impl TranscriberBin {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
state.transcription_bin.set_locked_state(false);
|
state.transcription_bin.set_locked_state(false);
|
||||||
state.transcription_bin.sync_state_with_parent().unwrap();
|
state.transcription_bin.sync_state_with_parent().unwrap();
|
||||||
|
|
||||||
element.debug_to_dot_file(gst::DebugGraphDetails::all(), "after-enable");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue