only print used encoding types

This commit is contained in:
Crispy 2024-04-13 12:13:24 +02:00
parent d07091b38d
commit 8acd684e59

View file

@ -51,8 +51,10 @@ fn main() {
frame_index += 1;
}
}
for (encoding, frames) in stats.iter() {
println!("{encoding:?} - {frames} frames");
for (encoding, &frames) in stats.iter() {
if frames > 0 {
println!("{encoding:?} - {frames} frames");
}
}
println!();
println!(