2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 19:31:35 +00:00
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",