修正指定临时文件夹后无法混流的问题

This commit is contained in:
nilaoda 2022-08-21 18:01:19 +08:00
parent 8d2b1d6faa
commit f7d20c3dfb
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ namespace N_m3u8DL_RE.Util
command.Append($" -metadata date=\"{dateString}\" -ignore_unknown -copy_unknown -c copy \"{outputPath}.mkv\""); 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) if (File.Exists($"{outputPath}.mkv") && new FileInfo($"{outputPath}.mkv").Length > 1024)
return true; return true;