MCPcopy Index your code
hub / github.com/CapSoftware/Cap / finishProcessing

Function finishProcessing

apps/web/components/tools/SpeedController.tsx:302–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

300 video.playbackRate = selectedSpeed;
301
302 const finishProcessing = () => {
303 if (recorder.state === "recording") {
304 recorder.stop();
305 }
306 setProgress(100);
307 cancelAnimationFrame(animationFrameId);
308 };
309
310 const totalDuration = video.duration / selectedSpeed;
311 let lastProgress = 0;

Callers 2

renderFrameFunction · 0.85
adjustVideoSpeedFunction · 0.85

Calls 1

stopMethod · 0.65

Tested by

no test coverage detected