mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix: fps not being displayed in some cases
This commit is contained in:
@@ -186,7 +186,7 @@ export async function processMediaAssets({
|
|||||||
width = videoInfo.width;
|
width = videoInfo.width;
|
||||||
height = videoInfo.height;
|
height = videoInfo.height;
|
||||||
fps = Number.isFinite(videoInfo.fps)
|
fps = Number.isFinite(videoInfo.fps)
|
||||||
? Math.round(videoInfo.fps * 1000) / 1000
|
? Math.round(videoInfo.fps)
|
||||||
: undefined;
|
: undefined;
|
||||||
|
|
||||||
thumbnailUrl = await generateThumbnail({
|
thumbnailUrl = await generateThumbnail({
|
||||||
|
|||||||
Reference in New Issue
Block a user