Skip to content

🎥 Make videos programmatically with React

Merge pull request #2783 from remotion-dev/customizable-offthread-video-cache-size

Jonny Burger82bbc00c61d3
diff --cc packages/renderer/src/compositor/compositor.ts
index c706a86301,62495406f4..9551b59c36
--- a/packages/renderer/src/compositor/compositor.ts
+++ b/packages/renderer/src/compositor/compositor.ts
@@@ -335,14 -308,10 +336,14 @@@ export const startCompositor = <T exten
executeCommand: <Type extends keyof CompositorCommand>(
command: Type,
- params: CompositorCommand[Type]
+ params: CompositorCommand[Type],
) => {
if (runningStatus.type === 'quit-without-error') {
- throw new Error('Compositor already quit');
+ throw new Error(
+ `Compositor quit${
+ runningStatus.signal ? ` with signal ${runningStatus.signal}` : ''
+ }`
+ );
}
if (runningStatus.type === 'quit-with-error') {