only print used encoding types
This commit is contained in:
parent
d07091b38d
commit
8acd684e59
1 changed files with 4 additions and 2 deletions
|
@ -51,9 +51,11 @@ fn main() {
|
|||
frame_index += 1;
|
||||
}
|
||||
}
|
||||
for (encoding, frames) in stats.iter() {
|
||||
for (encoding, &frames) in stats.iter() {
|
||||
if frames > 0 {
|
||||
println!("{encoding:?} - {frames} frames");
|
||||
}
|
||||
}
|
||||
println!();
|
||||
println!(
|
||||
"{} frames, total {} bytes (~{} bpf)",
|
||||
|
|
Loading…
Reference in a new issue