diff --git a/FileFlows.Plugin.dll b/FileFlows.Plugin.dll index 0b81cf52..b58d92f7 100644 Binary files a/FileFlows.Plugin.dll and b/FileFlows.Plugin.dll differ diff --git a/FileFlows.Plugin.pdb b/FileFlows.Plugin.pdb index 6520c1a4..f7aa8da8 100644 Binary files a/FileFlows.Plugin.pdb and b/FileFlows.Plugin.pdb differ diff --git a/VideoNodes/FfmpegBuilderNodes/Video/FfmpegBuilderCropBlackBars.cs b/VideoNodes/FfmpegBuilderNodes/Video/FfmpegBuilderCropBlackBars.cs index 18ef3195..3eef77e7 100644 --- a/VideoNodes/FfmpegBuilderNodes/Video/FfmpegBuilderCropBlackBars.cs +++ b/VideoNodes/FfmpegBuilderNodes/Video/FfmpegBuilderCropBlackBars.cs @@ -254,10 +254,11 @@ public class FfmpegBuilderCropBlackBars : FfmpegBuilderNode { process.Kill(); args.Logger?.ELog("Timed out extracting image"); - Console.WriteLine(outputBuilder.ToString()); - return File.Exists(destination); } + if (File.Exists(destination)) + return true; + // Get the output and error messages string output = outputBuilder.ToString(); string error = errorBuilder.ToString(); @@ -268,13 +269,10 @@ public class FfmpegBuilderCropBlackBars : FfmpegBuilderNode Console.WriteLine(output); } - if (!string.IsNullOrWhiteSpace(error)) + if (string.IsNullOrWhiteSpace(error) == false) { args.Logger?.WLog($"Error from ffmpeg: {error}"); } - - if (File.Exists(destination)) - return true; args.Logger?.WLog($"Error extracting frame: {error}"); return false; }