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

Fix missing transcoding speed info (#6199)

* Fix missing transcoding speed info https://github.com/jellyfin/jellyfin-web/issues/6198

* Use ReferenceFrameRate by default

---------

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
Marissa 2024-11-01 19:19:31 +01:00 committed by GitHub
parent 9ff9f05a26
commit 6d37cfcd1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -200,7 +200,7 @@ function getDisplayTranscodeFps(session, player) {
const mediaSource = playbackManager.currentMediaSource(player) || {};
const videoStream = (mediaSource.MediaStreams || []).find((s) => s.Type === 'Video') || {};
const originalFramerate = videoStream.AverageFrameRate;
const originalFramerate = videoStream.ReferenceFrameRate || videoStream.RealFrameRate;
const transcodeFramerate = session.TranscodingInfo.Framerate;
if (!originalFramerate) {