only print used encoding types
This commit is contained in:
parent
d07091b38d
commit
8acd684e59
1 changed files with 4 additions and 2 deletions
|
@ -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!(
|
||||
|
|
Loading…
Reference in a new issue