MCPcopy Create free account
hub / github.com/Proryanator/encoder-benchmark / setup_decode_input

Method setup_decode_input

ffmpeg/src/args.rs:173–181  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

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();

Callers 1

run_encodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected