修复只下载音频失败的问题

This commit is contained in:
croire
2022-03-26 14:13:08 +08:00
parent ce9b292500
commit 1dc0ef02bd
+1 -1
View File
@@ -24,7 +24,7 @@ namespace DownKyi.Core.FFmpeg
}
if (video2 == null || !File.Exists(video2))
{
param = $"-y -i \"{video1}\" -acodec copy -f aac \"{destVideo}\"";
param = $"-y -i \"{video1}\" -acodec copy \"{destVideo}\"";
}
if (!File.Exists(video1) && !File.Exists(video2)) { return false; }