🎥 Make videos programmatically with React
Update parse-command-line.ts
Jonny Burgerd4e2db8a7824
diff --git a/packages/cli/src/parse-command-line.ts b/packages/cli/src/parse-command-line.tsindex 350eae61eb..ea8a0f885e 100644--- a/packages/cli/src/parse-command-line.ts+++ b/packages/cli/src/parse-command-line.ts@@ -26,6 +26,7 @@ const {folderExpiryOption,enableMultiprocessOnLinuxOption,numberOfGifLoopsOption,+ x264Option,} = BrowserSafeApis.options;type CommandLineOptions = {@@ -33,7 +34,7 @@ type CommandLineOptions = {['pixel-format']: PixelFormat;['image-format']: VideoImageFormat | StillImageFormat;['prores-profile']: ProResProfile;- ['x264-preset']: X264Preset;+ [x264Option.cliFlag]: X264Preset;['bundle-cache']: string;['env-file']: string;['ignore-certificate-errors']: string;@@ -230,10 +231,6 @@ export const parseCommandLine = () => {);}- if (parsedCli['x264-preset']) {- Config.setX264Preset(String(parsedCli['x264-preset']) as X264Preset);- }-if (parsedCli.overwrite) {Config.setOverwriteOutput(parsedCli.overwrite);}