fixing some logging issues in video nodes

This commit is contained in:
John Andrews
2022-06-23 09:21:22 +12:00
parent 63625ee3d4
commit cad58c8b43
2 changed files with 3 additions and 3 deletions

View File

@@ -46,9 +46,9 @@ namespace FileFlows.VideoNodes
}
string argsString = String.Join(" ", arguments.Select(x => x.IndexOf(" ") > 0 ? "\"" + x + "\"" : x));
Logger.ILog(new string('=', ("FFMpeg.Arguments: " + argsString).Length));
Logger.ILog(new string('-', ("FFMpeg.Arguments: " + argsString).Length));
Logger.ILog("FFMpeg.Arguments: " + argsString);
Logger.ILog(new string('=', ("FFMpeg.Arguments: " + argsString).Length));
Logger.ILog(new string('-', ("FFMpeg.Arguments: " + argsString).Length));
var task = ExecuteShellCommand(ffMpegExe, arguments, 0);
task.Wait();

View File

@@ -130,7 +130,7 @@ namespace FileFlows.VideoNodes.FfmpegBuilderNodes
});
if (result.ExitCode == 0)
{
Args.Logger?.ILog("Supported hardware decoding detected: " + hw);
Args.Logger?.ILog("Supported hardware decoding detected: " + string.Join(" ", hw));
return hw;
}
}