mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-01-06 23:10:45 -06:00
tweaking output for qsv check, it outputs when it can use it
This commit is contained in:
@@ -281,7 +281,8 @@ public class CanUseHardwareEncoding:Node
|
||||
ArgumentList = arguments.ToArray(),
|
||||
Silent = true
|
||||
}).Result;
|
||||
if (cmd.ExitCode != 0 || string.IsNullOrWhiteSpace(cmd.Output) == false)
|
||||
string output = cmd.Output?.Contains("va_openDriver() returns 0") == true ? null : cmd.Output;
|
||||
if (cmd.ExitCode != 0 || string.IsNullOrWhiteSpace(output) == false)
|
||||
{
|
||||
string asStr = string.Join(" ", arguments.Select(x => x.Contains(" ") ? "\"" + x + "\"" : x));
|
||||
args.Logger?.WLog($"Cant process '{ffmpeg} {asStr}': {cmd.Output ?? ""}");
|
||||
|
||||
Reference in New Issue
Block a user