修正指定临时文件夹后无法混流的问题
This commit is contained in:
parent
8d2b1d6faa
commit
f7d20c3dfb
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue