mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
+
This commit is contained in:
parent
d6f0a9ba55
commit
37be11eb1d
1 changed files with 1 additions and 3 deletions
4
av1an.py
4
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':
|
||||
|
|
Loading…
Reference in a new issue