Skip to content

Commit

Permalink
Add log, fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
HaveAGitGat committed Oct 9, 2023
1 parent 6af5425 commit e214681
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e214681

Please sign in to comment.