Skip to content

🎥 Make videos programmatically with React

Update stringify-ffmpeg-filter.ts

Jonny Burgerc7e05d13b3d7
diff --git a/packages/renderer/src/stringify-ffmpeg-filter.ts b/packages/renderer/src/stringify-ffmpeg-filter.ts
index b7570275c5..992b53646e 100644
--- a/packages/renderer/src/stringify-ffmpeg-filter.ts
+++ b/packages/renderer/src/stringify-ffmpeg-filter.ts
@@ -59,12 +59,7 @@ const trimAndSetTempo = ({
// and the offset needs to be the same for all audio tracks, before processing it further.
// This also affects the trimLeft and trimRight values, as they need to be adjusted.
if (forSeamlessAacConcatenation) {
- const trimLeft = getActualTrimLeft({
- asset,
- fps,
- trimLeftOffset,
- });
-
+ const trimLeft = getActualTrimLeft({asset, fps, trimLeftOffset});
const trimRight = trimLeft + asset.duration / fps + trimRightOffset;
const trimRightOrAssetDuration = assetDuration