Function
will_be_duplicate
(duplicates: &Vec<PermutationResult>, next_permutation: &Permutation)
Source from the content-addressed store, hash-verified
| 303 | } |
| 304 | |
| 305 | fn will_be_duplicate(duplicates: &Vec<PermutationResult>, next_permutation: &Permutation) -> bool { |
| 306 | for dup in duplicates { |
| 307 | if dup.encoder_settings == next_permutation.encoder_settings { |
| 308 | return true; |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | return false; |
| 313 | } |
| 314 | |
| 315 | fn insert_format_from(input: &str, encoder: &String) -> String { |
| 316 | let format = if encoder.contains("h264") { |
Tested by
no test coverage detected