Skip to content

🎥 Make videos programmatically with React

Update config.md

Jonny Burgerc2733d6aaf31
diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.md
index badb171e1e..d33675d99b 100644
--- a/packages/docs/docs/config.md
+++ b/packages/docs/docs/config.md
@@ -391,7 +391,7 @@ The JPEG quality of each frame. Must be a number between 0 and 100. Will not wor
```ts twoslash title="remotion.config.ts"
import { Config } from "@remotion/cli/config";
// ---cut---
-Config.setQuality(90);
+Config.setJpegQuality(90);
```
The [command line flag](/docs/cli/render#--jpeg-quality) `--jpeg-quality` will take precedence over this option.