From 17cca457b983251057db01b92270f7e747bcf3f8 Mon Sep 17 00:00:00 2001 From: Didier Date: Mon, 8 May 2023 10:58:17 +0200 Subject: [PATCH] fix: remove niceness to threads arg from ffmpeg command builder. renice.rs already fixes niceness. --- src/ffmpeg.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ffmpeg.rs b/src/ffmpeg.rs index af6ad68..3ea6382 100644 --- a/src/ffmpeg.rs +++ b/src/ffmpeg.rs @@ -49,11 +49,6 @@ impl FFmpegCommandOptions { args.push(threads.to_string()); } - if let Some(niceness) = self.niceness { - args.push("-threads".to_string()); - args.push(niceness.to_string()); - } - if let Some(allow_overwrite) = self.overwrite { if allow_overwrite { args.push("-y".to_string());