mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
Fixed old bug with progress bar
This commit is contained in:
parent
f5ad3bb01f
commit
60826b257b
1 changed files with 1 additions and 2 deletions
3
av1an.py
3
av1an.py
|
@ -353,12 +353,11 @@ class Av1an:
|
|||
print(f'Starting encoding with {self.workers} workers. \nParameters: {self.encoding_params}\nEncoding..')
|
||||
|
||||
# Progress bar
|
||||
bar = ProgressBar(len(vid_queue))
|
||||
bar = ProgressBar(len(files))
|
||||
pool = Pool(self.workers)
|
||||
for i, _ in enumerate(pool.imap_unordered(self.encode, commands), 1):
|
||||
bar.tick()
|
||||
|
||||
bar.tick()
|
||||
|
||||
self.concatenate_video(self.args.file_path)
|
||||
|
||||
|
|
Loading…
Reference in a new issue