(&mut self)
| 171 | } |
| 172 | |
| 173 | pub fn setup_decode_input(&mut self) { |
| 174 | let splits = self.first_input.split("y4m").collect::<Vec<&str>>(); |
| 175 | // we'll probably want to change the file extension at some point but, .mp4 is fine for now |
| 176 | let file_prefix = splits.get(0).unwrap(); |
| 177 | let mut output = String::from(""); |
| 178 | output.push_str(file_prefix); |
| 179 | output.push_str("mp4"); |
| 180 | self.first_input = output; |
| 181 | } |
| 182 | |
| 183 | pub fn set_no_output_for_error(&mut self) { |
| 184 | self.output_args = NO_OUTPUT.to_string(); |