结束逻辑

This commit is contained in:
Jerry Yan 2023-01-31 09:30:26 +08:00
parent f648a84bbd
commit 7d6ecb595a

View File

@ -321,7 +321,7 @@ class WorkerThread(QThread):
subtitles,
os.path.join(VIDEO_OUTPUT_DIR, "{}.mp4".format(current_dt)),
current_sec,
current_sec + VIDEO_CLIP_EACH_SEC + VIDEO_CLIP_OVERFLOW_SEC)
VIDEO_CLIP_EACH_SEC + VIDEO_CLIP_OVERFLOW_SEC)
self.handle_handbrake_output(process.stdout)
process.wait()
current_sec += VIDEO_CLIP_EACH_SEC