(video_file: String, encoder: String)
| 21 | |
| 22 | impl Permutation { |
| 23 | pub fn new(video_file: String, encoder: String) -> Self { |
| 24 | Self { |
| 25 | video_file, |
| 26 | encoder, |
| 27 | encoder_settings: String::from(""), |
| 28 | bitrate: 0, |
| 29 | metadata: MetaData::new(), |
| 30 | check_quality: false, |
| 31 | allow_duplicates: false, |
| 32 | detect_overload: false, |
| 33 | verbose: false, |
| 34 | decode_run: false, |
| 35 | is_decoding: false, |
| 36 | ten_bit: false, |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | pub fn get_metadata(&mut self) -> MetaData { |
| 41 | if self.metadata.is_empty() { |
nothing calls this directly
no outgoing calls
no test coverage detected