fallbackswitch: Improve some debug outputs

Don't print "buffer buffer ...".
This commit is contained in:
Sebastian Dröge 2022-04-13 12:49:44 +03:00 committed by Sebastian Dröge
parent ca7cf7dee7
commit bbb7ced95a

View file

@ -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();