Add log, fix output

This commit is contained in:
HaveAGitGat 2023-10-09 08:50:47 +01:00
parent 6af54253ba
commit e214681955
2 changed files with 4 additions and 1 deletions

View file

@ -45,8 +45,9 @@ var plugin = function (args) {
outputNumber = 1; // One video stream
}
else if (videoStreams > 1) {
outputNumber = 3; // More than one video stream
outputNumber = 2; // More than one video stream
}
args.jobLog("Number of video streams: ".concat(videoStreams));
return {
outputFileObj: args.inputFileObj,
outputNumber: outputNumber,

View file

@ -54,6 +54,8 @@ const plugin = (args: IpluginInputArgs): IpluginOutputArgs => {
outputNumber = 2; // More than one video stream
}
args.jobLog(`Number of video streams: ${videoStreams}`);
return {
outputFileObj: args.inputFileObj,
outputNumber,