Skip to content

Commit

Permalink
+ Fail on any FFmpeg error
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeMartinez committed Aug 30, 2023
1 parent b81f3de commit ad0f18a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/CLI/Output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit ad0f18a

Please sign in to comment.