Add log, fix output

make-only-subtitle-default
HaveAGitGat 2 years ago
parent 6af54253ba
commit e214681955

@ -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,

@ -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,

Loading…
Cancel
Save