This commit is contained in:
asonix 2023-02-04 17:54:56 -06:00
parent 261c264a55
commit cc75d2d882

View file

@ -87,11 +87,7 @@ impl TranscodeOptions {
} }
} }
fn execute<'a>( fn execute(&self, input_path: &str, output_path: &str) -> Result<Process, std::io::Error> {
&self,
input_path: &str,
output_path: &'a str,
) -> Result<Process, std::io::Error> {
if let Some(audio_codec) = self.output_ffmpeg_audio_codec() { if let Some(audio_codec) = self.output_ffmpeg_audio_codec() {
Process::run( Process::run(
"ffmpeg", "ffmpeg",