From ad0f18ae8b53aa0eb2137a1636dbcf8814333266 Mon Sep 17 00:00:00 2001 From: Jerome Martinez Date: Wed, 30 Aug 2023 13:29:41 +0200 Subject: [PATCH] + Fail on any FFmpeg error --- Source/CLI/Output.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/CLI/Output.cpp b/Source/CLI/Output.cpp index 7ae2ccd8..fc4454b6 100644 --- a/Source/CLI/Output.cpp +++ b/Source/CLI/Output.cpp @@ -83,6 +83,7 @@ int output::FFmpeg_Command(const char* FileName, global& Global, bool IgnoreReve Command += "ffmpeg"; else Command += Global.BinName; + Command += " -xerror"; // Disable stdin for ffmpeg if (Global.OutputOptions.find("n") != Global.OutputOptions.end() && Global.OutputOptions.find("y") != Global.OutputOptions.end())