diff --git a/av1an.py b/av1an.py index 09423b4..882d258 100755 --- a/av1an.py +++ b/av1an.py @@ -139,9 +139,7 @@ class Av1an: cpu = os.cpu_count() ram = round(virtual_memory().total / 2 ** 30) - self.workers = self.args.workers - - elif self.encoder == 'aom' or 'rav1e': + if self.encoder == 'aom' or 'rav1e': self.workers = ceil(min(cpu, ram/1.5)) elif self.encoder == 'svt_av1':