mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-01-01 20:50:21 -06:00
fixing pixel format issue
This commit is contained in:
@@ -275,13 +275,18 @@ public class FfmpegBuilderExecutor: FfmpegBuilderNode
|
||||
{
|
||||
if (hw == null)
|
||||
continue;
|
||||
if (hw.Contains("#FORMAT#") && string.IsNullOrWhiteSpace(pixelFormat))
|
||||
continue;
|
||||
if (CanUseHardwareEncoding.DisabledByVariables(args, hw))
|
||||
{
|
||||
args.Logger?.ILog("HW disabled by variables: " + string.Join(", ", hw));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (hw.Contains("#FORMAT#") && string.IsNullOrWhiteSpace(pixelFormat))
|
||||
{
|
||||
args.Logger?.ILog("No pixel format detected skipping check for: " + string.Join(" ", hw));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user