From 5397f4bfaff7dc3482c81b0e2de18a5315be0eb4 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Thu, 15 Jul 2021 22:38:07 +0200 Subject: [PATCH] transcriberbin: remove leftover debug dot dumps Part-of: --- video/closedcaption/src/transcriberbin/imp.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/video/closedcaption/src/transcriberbin/imp.rs b/video/closedcaption/src/transcriberbin/imp.rs index 7d1405831..d9af9cc22 100644 --- a/video/closedcaption/src/transcriberbin/imp.rs +++ b/video/closedcaption/src/transcriberbin/imp.rs @@ -222,8 +222,6 @@ impl TranscriberBin { self.construct_transcription_bin(element, state)?; - element.debug_to_dot_file(gst::DebugGraphDetails::all(), "Initial"); - Ok(()) } @@ -282,6 +280,8 @@ impl TranscriberBin { let passthrough = self.settings.lock().unwrap().passthrough; if passthrough { + gst_debug!(CAT, obj: element, "disabling transcription bin"); + let bin_sink_pad = state.transcription_bin.static_pad("sink").unwrap(); if let Some(audio_tee_pad) = bin_sink_pad.peer() { 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_state(gst::State::Null).unwrap(); - - element.debug_to_dot_file(gst::DebugGraphDetails::all(), "after-disable"); } } } @@ -342,8 +340,6 @@ impl TranscriberBin { .unwrap(); state.transcription_bin.set_locked_state(false); state.transcription_bin.sync_state_with_parent().unwrap(); - - element.debug_to_dot_file(gst::DebugGraphDetails::all(), "after-enable"); } } }