Skip to content

Commit 681f006

Browse files
committed
fix: fps not being displayed in some cases
1 parent 0282ef2 commit 681f006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/lib/media/processing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export async function processMediaAssets({
186186
width = videoInfo.width;
187187
height = videoInfo.height;
188188
fps = Number.isFinite(videoInfo.fps)
189-
? Math.round(videoInfo.fps * 1000) / 1000
189+
? Math.round(videoInfo.fps)
190190
: undefined;
191191

192192
thumbnailUrl = await generateThumbnail({

0 commit comments

Comments
 (0)