From e5b1abccff25460cd20d0c15a879fefe5469ec46 Mon Sep 17 00:00:00 2001 From: HaveAGitGat Date: Wed, 5 Jun 2024 13:43:07 +0000 Subject: [PATCH] Apply auto-build changes --- .../ffmpegCommand/ffmpegCommand10BitVideo/1.0.0/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommand10BitVideo/1.0.0/index.js b/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommand10BitVideo/1.0.0/index.js index e04d4bc..90f7d2b 100644 --- a/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommand10BitVideo/1.0.0/index.js +++ b/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommand10BitVideo/1.0.0/index.js @@ -1,6 +1,10 @@ "use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.plugin = exports.details = void 0; +var os_1 = __importDefault(require("os")); /* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */ var details = function () { return ({ name: '10 Bit Video', @@ -32,7 +36,7 @@ var plugin = function (args) { var stream = args.variables.ffmpegCommand.streams[i]; if (stream.codec_type === 'video') { stream.outputArgs.push('-profile:v:{outputTypeIndex}', 'main10'); - if (stream.outputArgs.some(function (row) { return row.includes('qsv'); })) { + if (stream.outputArgs.some(function (row) { return row.includes('qsv'); }) && os_1.default.platform() !== 'win32') { stream.outputArgs.push('-vf', 'scale_qsv=format=p010le'); } else {