Skip to content

🎥 Make videos programmatically with React

add todo comment

Jonny Burgerd60af242c49b
diff --git a/packages/cli/src/render.tsx b/packages/cli/src/render.tsx
index 0c05967f72..ba7e10c6b3 100644
--- a/packages/cli/src/render.tsx
+++ b/packages/cli/src/render.tsx
@@ -108,6 +108,7 @@ export const render = async () => {
Log.verbose('Output dir', outputDir);
const renderProgress = createOverwriteableCliOutput();
+ // TODO: This is not right
const totalFrames = config.durationInFrames;
const updateRenderProgress: RenderMediaOnProgress = ({
encodedFrames,
@@ -184,6 +185,7 @@ export const render = async () => {
encodedDoneIn: doneIn,
encodedFrames: 0,
renderedDoneIn: null,
+ // TODO: This is not right how about frameRange
renderedFrames: config.durationInFrames,
stitchStage: 'encoding',
});