fix: 修复当目标文件已存在时 ffmpeg 卡住的问题 (#99)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2024-05-05 17:22:35 +08:00
committed by GitHub
parent cd2bd9cbb3
commit e5e5b07978
+1
View File
@@ -40,6 +40,7 @@ impl Downloader {
audio_path.to_str().unwrap(), audio_path.to_str().unwrap(),
"-c", "-c",
"copy", "copy",
"-y",
output_path.to_str().unwrap(), output_path.to_str().unwrap(),
]) ])
.output() .output()