This commit is contained in:
Zen 2020-02-13 00:56:17 +02:00
parent d6f0a9ba55
commit 37be11eb1d

View file

@ -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':