🎥 Make videos programmatically with React
put cleanup at the right point
Jonny Burger19eecef464fa
diff --git a/packages/renderer/src/stitcher.ts b/packages/renderer/src/stitcher.tsindex 3eb73841e6..233f3c3656 100644--- a/packages/renderer/src/stitcher.ts+++ b/packages/renderer/src/stitcher.ts@@ -162,8 +162,6 @@ export const stitchFramesToVideo = async (options: {options.outputLocation,];- cleanup();-if (options.verbose) {console.log('Generated FFMPEG command:');console.log(ffmpegArgs);@@ -184,4 +182,5 @@ export const stitchFramesToVideo = async (options: {}});await task;+ cleanup();};