mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-01-07 04:39:30 -06:00
adding emptyasnull to video codec node for parameters so it uses the codec if parameters is not set
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
public override int Execute(NodeParameters args)
|
||||
{
|
||||
string codec = args.ReplaceVariables(VideoCodec ?? string.Empty);
|
||||
string parameters = args.ReplaceVariables(VideoCodecParameters ?? codec);
|
||||
string parameters = args.ReplaceVariables(VideoCodecParameters?.EmptyAsNull() ?? codec);
|
||||
|
||||
if (string.IsNullOrWhiteSpace(parameters))
|
||||
return 1; // nothing to do
|
||||
|
||||
Reference in New Issue
Block a user