From 4273849b4932d8e247a82b45ea7d3312c83f2801 Mon Sep 17 00:00:00 2001
From: Jerry Yan <792602257@qq.com>
Date: Thu, 26 May 2022 06:55:00 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=86=99=E9=94=99BUG?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 danmaku_workflow.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/danmaku_workflow.py b/danmaku_workflow.py
index be42415..fe19586 100644
--- a/danmaku_workflow.py
+++ b/danmaku_workflow.py
@@ -493,7 +493,7 @@ class WorkerThread(QThread):
             split_process = subprocess.Popen([
                 FFMPEG_EXEC, "-y", "-hide_banner", "-progress", "-", "-loglevel", "error",
                 "-ss", str(current_sec),
-                "-i", file_name, "-c", "copy", "-f", "mp4",
+                "-i", file, "-c", "copy", "-f", "mp4",
                 "-t", str(VIDEO_CLIP_EACH_SEC + VIDEO_CLIP_OVERFLOW_SEC),
                 "-fflags", "+genpts", "-shortest", "-movflags", "faststart",
                 "{}.mp4".format(current_dt)