1
0
mirror of https://github.com/acgnhiki/blrec.git synced 2025-04-25 05:00:23 +08:00

fix: fix remuxing progress

fix 
This commit is contained in:
acgnhiki 2024-06-20 20:41:17 +08:00
parent 7fc31e9e11
commit fff5994f0b

View File

@ -151,8 +151,11 @@ def remux_video(
else:
continue
if line.startswith('frame='):
try:
size = parse_size(line)
except Exception:
pass
else:
pbar.update(size - pbar.n)
progress = RemuxingProgress(size, total)
observer.on_next(progress)