summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-02-08 21:49:32 +0100
committerMaze Winther <mazewinther@gmail.com>2026-02-08 21:49:32 +0100
commit681f006b3556830bcb43d49217cc3268ddd1b5f8 (patch)
tree9a23351114877cdecd20ab315ffb9aad356217b1
parent0282ef2223b25a86569c0096e76e48305dba0abd (diff)
downloadopencut-681f006b3556830bcb43d49217cc3268ddd1b5f8.tar.gz
fix: fps not being displayed in some cases
-rw-r--r--apps/web/src/lib/media/processing.ts2
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({