Skip to content

Commit

Permalink
Fix missing transcoding speed info jellyfin#6198
Browse files Browse the repository at this point in the history
  • Loading branch information
marissa999 authored and thornbill committed Nov 1, 2024
1 parent d365dd1 commit c57a4c4
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.AverageFrameRate || videoStream.RealFrameRate;
const transcodeFramerate = session.TranscodingInfo.Framerate;

if (!originalFramerate) {
Expand Down

0 comments on commit c57a4c4

Please sign in to comment.