From 8cfd14216899d24919ac2a5e371fd3530cf3d1e4 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Mon, 28 Aug 2023 10:42:04 +0100 Subject: [PATCH] Handle in set container --- .../ffmpegCommand/ffmpegCommandExecute/1.0.0/index.js | 4 ---- .../ffmpegCommand/ffmpegCommandExecute/1.0.0/index.ts | 4 ---- 2 files changed, 8 deletions(-) diff --git a/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.js b/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.js index 28322e8..9698d8f 100644 --- a/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.js +++ b/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.js @@ -47,7 +47,6 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { Object.defineProperty(exports, "__esModule", { value: true }); exports.plugin = exports.details = void 0; var cliUtils_1 = require("../../../../FlowHelpers/1.0.0/cliUtils"); -var fileUtils_1 = require("../../../../FlowHelpers/1.0.0/fileUtils"); /* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */ var details = function () { return ({ name: 'Execute', @@ -113,9 +112,6 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function } return !stream.removed; }); - if ((0, fileUtils_1.getContainer)(args.inputFileObj._id) !== args.variables.ffmpegCommand.container) { - shouldProcess = true; - } _loop_1 = function (i) { var stream = streams[i]; stream.outputArgs = stream.outputArgs.map(function (arg) { diff --git a/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.ts b/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.ts index 0e3c32a..0eaf221 100644 --- a/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.ts +++ b/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.ts @@ -82,10 +82,6 @@ const plugin = async (args: IpluginInputArgs): Promise => { return !stream.removed; }); - if (getContainer(args.inputFileObj._id) !== args.variables.ffmpegCommand.container) { - shouldProcess = true; - } - for (let i = 0; i < streams.length; i += 1) { const stream = streams[i];