Skip to content

🎥 Make videos programmatically with React

properly await

Jonny Burger57a9baf0911d
diff --git a/packages/renderer/src/stitch-frames-to-video.ts b/packages/renderer/src/stitch-frames-to-video.ts
index 409ec2e428..0ee431e59e 100644
--- a/packages/renderer/src/stitch-frames-to-video.ts
+++ b/packages/renderer/src/stitch-frames-to-video.ts
@@ -470,11 +470,11 @@ const innerStitchFramesToVideo = async (
});
};
-export const internalStitchFramesToVideo = async (
+export const internalStitchFramesToVideo = (
options: InternalStitchFramesToVideoOptions,
): Promise<Buffer | null> => {
const remotionRoot = findRemotionRoot();
- const task = await innerStitchFramesToVideo(options, remotionRoot);
+ const task = innerStitchFramesToVideo(options, remotionRoot);
return Promise.race([
task,