Use checkFfmpegCommandInit() in Execute plugin

make-only-subtitle-default
HaveAGitGat 1 year ago
parent 69afa93e70
commit b15ef9fb5f

@ -6,6 +6,7 @@ import {
} from '../../../../FlowHelpers/1.0.0/interfaces/interfaces';
import { CLI } from '../../../../FlowHelpers/1.0.0/cliUtils';
import { getFileName, getPluginWorkDir } from '../../../../FlowHelpers/1.0.0/fileUtils';
import { checkFfmpegCommandInit } from '../../../../FlowHelpers/1.0.0/interfaces/flowUtils';
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
const details = (): IpluginDetails => ({
@ -68,6 +69,8 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars,no-param-reassign
args.inputs = lib.loadDefaultValues(args.inputs, details);
checkFfmpegCommandInit(args);
const cliArgs: string[] = [];
cliArgs.push('-y');

Loading…
Cancel
Save