Skip to content

🎥 Make videos programmatically with React

muted option

Jonny Burger39096a3f2b7d
diff --git a/packages/renderer/src/options/index.tsx b/packages/renderer/src/options/index.tsx
index ba6d535549..77fe8707f5 100644
--- a/packages/renderer/src/options/index.tsx
+++ b/packages/renderer/src/options/index.tsx
@@ -11,7 +11,7 @@ import {enforceAudioOption} from './enforce-audio';
import {folderExpiryOption} from './folder-expiry';
import {glOption} from './gl';
import {jpegQualityOption} from './jpeg-quality';
-import {muteOption} from './mute';
+import {mutedOption} from './mute';
import {numberOfGifLoopsOption} from './number-of-gif-loops';
import {offthreadVideoCacheSizeInBytesOption} from './offthreadvideo-cache-size';
import type {AnyRemotionOption} from './option';
@@ -29,7 +29,7 @@ export const allOptions = {
videoBitrateOption,
audioBitrateOption,
enforceAudioOption,
- muteOption,
+ mutedOption,
videoCodecOption,
offthreadVideoCacheSizeInBytesOption,
webhookCustomDataOption,
diff --git a/packages/renderer/src/options/mute.tsx b/packages/renderer/src/options/mute.tsx
index db2c9cae07..0520df5478 100644
--- a/packages/renderer/src/options/mute.tsx
+++ b/packages/renderer/src/options/mute.tsx
@@ -1,6 +1,6 @@
import type {AnyRemotionOption} from './option';
-export const muteOption = {
+export const mutedOption = {
name: 'Muted',
cliFlag: 'muted',
description: () => <>The Audio of the video will be omitted.</>,
diff --git a/packages/renderer/src/options/options-map.ts b/packages/renderer/src/options/options-map.ts
index 5aaaf97aa0..536b6e9684 100644
--- a/packages/renderer/src/options/options-map.ts
+++ b/packages/renderer/src/options/options-map.ts
@@ -4,7 +4,7 @@ import {deleteAfterOption} from './delete-after';
import {encodingBufferSizeOption} from './encoding-buffer-size';
import {encodingMaxRateOption} from './encoding-max-rate';
import {jpegQualityOption} from './jpeg-quality';
-import {muteOption} from './mute';
+import {mutedOption} from './mute';
import {numberOfGifLoopsOption} from './number-of-gif-loops';
import {offthreadVideoCacheSizeInBytesOption} from './offthreadvideo-cache-size';
import {reproOption} from './repro';
@@ -25,7 +25,7 @@ export const optionsMap = {
jpegQuality: jpegQualityOption,
encodingMaxRate: encodingMaxRateOption,
encodingBufferSize: encodingBufferSizeOption,
- muted: muteOption,
+ muted: mutedOption,
},
renderStill: {
offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
@@ -51,7 +51,7 @@ export const optionsMap = {
encodingMaxRate: encodingMaxRateOption,
encodingBufferSize: encodingBufferSizeOption,
colorSpace: colorSpaceOption,
- muted: muteOption,
+ muted: mutedOption,
},
renderStillOnLambda: {
offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
@@ -69,7 +69,7 @@ export const optionsMap = {
x264Preset: x264Option,
encodingMaxRate: encodingMaxRateOption,
encodingBufferSize: encodingBufferSizeOption,
- muted: muteOption,
+ muted: mutedOption,
},
renderStillOnCloudRun: {
offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,