1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Adjust the order of transcoding fps and speed ratio

This item corresponds to `TranscodingInfo.Framerate`, so put speed ratio at the end.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
nyanmisaka 2024-08-29 16:08:34 +08:00
parent 0127a3c660
commit 00876950d1

View file

@ -202,7 +202,7 @@ function getDisplayTranscodeFps(session, player) {
return `${transcodeFramerate} fps`;
}
return `${(transcodeFramerate / originalFramerate).toFixed(2)}x (${transcodeFramerate} fps)`;
return `${transcodeFramerate} fps (${(transcodeFramerate / originalFramerate).toFixed(2)}x)`;
}
function getReadableSize(size) {