From f7d20c3dfb9e4e87c043e1410568ba0b056680b9 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Sun, 21 Aug 2022 18:01:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=8C=87=E5=AE=9A=E4=B8=B4?= =?UTF-8?q?=E6=97=B6=E6=96=87=E4=BB=B6=E5=A4=B9=E5=90=8E=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=B7=B7=E6=B5=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE/Util/MergeUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/N_m3u8DL-RE/Util/MergeUtil.cs b/src/N_m3u8DL-RE/Util/MergeUtil.cs index e357dc4..c192edd 100644 --- a/src/N_m3u8DL-RE/Util/MergeUtil.cs +++ b/src/N_m3u8DL-RE/Util/MergeUtil.cs @@ -170,7 +170,7 @@ namespace N_m3u8DL_RE.Util command.Append($" -metadata date=\"{dateString}\" -ignore_unknown -copy_unknown -c copy \"{outputPath}.mkv\""); - InvokeFFmpeg(binary, command.ToString(), Path.GetDirectoryName(files[0].FilePath)!); + InvokeFFmpeg(binary, command.ToString(), Environment.CurrentDirectory); if (File.Exists($"{outputPath}.mkv") && new FileInfo($"{outputPath}.mkv").Length > 1024) return true;