From 5c9403006787550bdaf7db3bbe7ed7afaaf74950 Mon Sep 17 00:00:00 2001 From: "SilverAg.L" Date: Mon, 11 May 2026 01:23:10 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E6=97=A0=E8=BF=9B=E5=BA=A6=E6=9D=A1?= =?UTF-8?q?=E6=97=B6=E4=BB=8D=E8=AF=95=E5=9B=BE=E5=88=B7=E6=96=B0=E8=BF=9B?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ffwrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffwrapper.py b/ffwrapper.py index 48fc85e..7e63905 100644 --- a/ffwrapper.py +++ b/ffwrapper.py @@ -66,7 +66,7 @@ def start_ffmpeg(infile: Path, outfile: Path): def set_progress(line: str, dur, pbar): - if not line.startswith("out_time_ms="): + if not pbar or not line.startswith("out_time_ms="): return try: us = int(line.split('=')[1])