From bbb7ced95a6ef9861d75a811a37a9f40af556615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 13 Apr 2022 12:49:44 +0300 Subject: [PATCH] fallbackswitch: Improve some debug outputs Don't print "buffer buffer ...". --- utils/fallbackswitch/src/fallbackswitch/imp.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/fallbackswitch/src/fallbackswitch/imp.rs b/utils/fallbackswitch/src/fallbackswitch/imp.rs index 307d78e7..b7ef5634 100644 --- a/utils/fallbackswitch/src/fallbackswitch/imp.rs +++ b/utils/fallbackswitch/src/fallbackswitch/imp.rs @@ -556,7 +556,7 @@ impl FallbackSwitch { trace!( CAT, obj: pad, - "Clipping buffer {:?} against segment {:?}", + "Clipping {:?} against segment {:?}", buffer, pad_state.segment, ); @@ -625,7 +625,7 @@ impl FallbackSwitch { log!( CAT, obj: pad, - "Handling buffer {:?} run ts start {} end {} pad active {}", + "Handling {:?} run ts start {} end {} pad active {}", buffer, start_running_time.display(), end_running_time.display(), @@ -729,7 +729,7 @@ impl FallbackSwitch { drop(pad_state); if !is_active { - log!(CAT, obj: pad, "Dropping {:?}", buffer); + log!(CAT, obj: pad, "Dropping {:?} on inactive pad", buffer); return Ok(gst::FlowSuccess::Ok); } let _stream_lock = self.src_pad.stream_lock();