diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-08 21:49:32 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-08 21:49:32 +0100 |
| commit | 681f006b3556830bcb43d49217cc3268ddd1b5f8 (patch) | |
| tree | 9a23351114877cdecd20ab315ffb9aad356217b1 | |
| parent | 0282ef2223b25a86569c0096e76e48305dba0abd (diff) | |
| download | opencut-681f006b3556830bcb43d49217cc3268ddd1b5f8.tar.gz | |
fix: fps not being displayed in some cases
| -rw-r--r-- | apps/web/src/lib/media/processing.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/lib/media/processing.ts b/apps/web/src/lib/media/processing.ts index 8f9c045c..fbe29acd 100644 --- a/apps/web/src/lib/media/processing.ts +++ b/apps/web/src/lib/media/processing.ts @@ -186,7 +186,7 @@ export async function processMediaAssets({ width = videoInfo.width; height = videoInfo.height; fps = Number.isFinite(videoInfo.fps) - ? Math.round(videoInfo.fps * 1000) / 1000 + ? Math.round(videoInfo.fps) : undefined; thumbnailUrl = await generateThumbnail({ |
