Skip to content

Commit

Permalink
Backport pull request #6199 from jellyfin-web/release-10.10.z
Browse files Browse the repository at this point in the history
Fix missing transcoding speed info

Original-merge: 6d37cfc

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
  • Loading branch information
marissa999 authored and joshuaboniface committed Nov 3, 2024
1 parent bd7724b commit e153eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/playerstats/playerstats.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e153eeb

Please sign in to comment.