Apply auto-build changes

This commit is contained in:
HaveAGitGat 2024-06-25 04:00:21 +00:00 committed by github-actions[bot]
parent 69afa93e70
commit f7ee4d8b44
18 changed files with 48 additions and 0 deletions

View file

@ -1,6 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.plugin = exports.details = void 0;
var flowUtils_1 = require("../../../../FlowHelpers/1.0.0/interfaces/flowUtils");
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
var details = function () { return ({
name: 'HDR to SDR',
@ -28,6 +29,7 @@ var plugin = function (args) {
var lib = require('../../../../../methods/lib')();
// eslint-disable-next-line @typescript-eslint/no-unused-vars,no-param-reassign
args.inputs = lib.loadDefaultValues(args.inputs, details);
(0, flowUtils_1.checkFfmpegCommandInit)(args);
args.variables.ffmpegCommand.streams.forEach(function (stream) {
if (stream.codec_type === 'video') {
stream.outputArgs.push('-vf', 'zscale=t=linear:npl=100,format=yuv420p');