init commit
This commit is contained in:
29
remotion/node_modules/@remotion/renderer/dist/options/prefer-lossless.js
generated
vendored
Normal file
29
remotion/node_modules/@remotion/renderer/dist/options/prefer-lossless.js
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.preferLosslessAudioOption = void 0;
|
||||
const jsx_runtime_1 = require("react/jsx-runtime");
|
||||
const cliFlag = 'prefer-lossless';
|
||||
let input = false;
|
||||
exports.preferLosslessAudioOption = {
|
||||
name: 'Prefer lossless',
|
||||
cliFlag,
|
||||
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Uses a lossless audio codec, if one is available for the codec. If you set",
|
||||
jsx_runtime_1.jsx("code", { children: "audioCodec" }),
|
||||
", it takes priority over", ' ', jsx_runtime_1.jsx("code", { children: "preferLossless" }),
|
||||
"."] })),
|
||||
docLink: 'https://www.remotion.dev/docs/encoding',
|
||||
type: false,
|
||||
ssrName: 'preferLossless',
|
||||
getValue: ({ commandLine }) => {
|
||||
if (commandLine[cliFlag]) {
|
||||
return { value: true, source: 'cli' };
|
||||
}
|
||||
if (input === true) {
|
||||
return { value: true, source: 'config' };
|
||||
}
|
||||
return { value: false, source: 'default' };
|
||||
},
|
||||
setConfig: (val) => {
|
||||
input = val;
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user