Skip to content

🎥 Make videos programmatically with React

Update render.ts

JonnyBurger2fa1beed7831
diff --git a/packages/cli/src/render-flows/render.ts b/packages/cli/src/render-flows/render.ts
index 2fc509d757..995f2a8044 100644
--- a/packages/cli/src/render-flows/render.ts
+++ b/packages/cli/src/render-flows/render.ts
@@ -197,6 +197,12 @@ export const renderVideoFlow = async ({
keyboardShortcutsEnabled: boolean;
shouldCache: boolean;
}) => {
+ RenderInternals.validateConcurrency({
+ value: concurrency,
+ setting: 'concurrency',
+ checkIfValidForCurrentMachine: true,
+ });
+
let bundlingProgress: BundlingState | null = null;
let renderingProgress: RenderingProgressInput | null = null;
let stitchingProgress: StitchingProgressInput | null = null;