From e057d888ca0b58a61eee2892d879cace5a19fef0 Mon Sep 17 00:00:00 2001
From: Jerry Yan <792602257@qq.com>
Date: Tue, 31 May 2022 17:08:28 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=87=E5=89=B2=E8=A7=86=E9=A2=91=E8=BE=93?=
 =?UTF-8?q?=E5=87=BA=E4=BD=8D=E7=BD=AE?=
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 e4fae5a..bf543fd 100644
--- a/danmaku_workflow.py
+++ b/danmaku_workflow.py
@@ -346,7 +346,7 @@ class WorkerThread(QThread):
                 "-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)
+                os.path.join(VIDEO_OUTPUT_DIR, "{}.mp4".format(current_dt))
             ], **subprocess_args(True))
             self.handle_ffmpeg_output(split_process.stdout)
             split_process.wait()