fix: remove niceness to threads arg from ffmpeg command builder.

renice.rs already fixes niceness.
This commit is contained in:
Didier Slof 2023-05-08 10:58:17 +02:00
parent b07a9b3d8e
commit 17cca457b9
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -49,11 +49,6 @@ impl FFmpegCommandOptions {
args.push(threads.to_string()); 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 let Some(allow_overwrite) = self.overwrite {
if allow_overwrite { if allow_overwrite {
args.push("-y".to_string()); args.push("-y".to_string());