Skip to content

Commit

Permalink
Merge pull request #418 from JeromeMartinez/CorruptedIntermediateFrame
Browse files Browse the repository at this point in the history
Fail on any FFmpeg error
  • Loading branch information
JeromeMartinez authored Aug 30, 2023
2 parents b81f3de + ad0f18a commit 71732a9
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 71732a9

Please sign in to comment.