mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-31 04:19:44 -06:00
FF-1235 - decoder parameters
This commit is contained in:
@@ -212,7 +212,13 @@ public class FfmpegBuilderExecutor: FfmpegBuilderNode
|
||||
pxtFormat = string.Empty; // clear it, if we use a 8bit pixel format this will break the colours
|
||||
}
|
||||
|
||||
startArgs.AddRange(GetHardwareDecodingArgs(args, localFile, FFMPEG, video?.Stream?.Codec, pxtFormat));
|
||||
var decodingParameters =
|
||||
GetHardwareDecodingArgs(args, localFile, FFMPEG, video?.Stream?.Codec, pxtFormat);
|
||||
if (decodingParameters.Any() == true)
|
||||
{
|
||||
args.StatisticRecorder("DecoderParameters", string.Join(" ", decodingParameters));
|
||||
startArgs.AddRange(decodingParameters);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user