Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing transcoding speed info #6199

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

marissa999
Copy link
Contributor

@marissa999 marissa999 commented Oct 14, 2024

I noticed that the MediaInfoItem

if ((stream.AverageFrameRate || stream.RealFrameRate) && stream.Type === 'Video') {
attributes.push(createAttribute(globalize.translate('MediaInfoFramerate'), (stream.AverageFrameRate || stream.RealFrameRate)));
}
uses stream.AverageFrameRate || stream.RealFrameRate. However in the Playback Info Widget only videoStream.AverageFrameRate is used. This results in the Playback Info Widget not showing how much faster the transcoding process is compared to the original frames per seconds.

Changes
To also use the RealFrameRate in getDisplayTranscodeFps, in case the AverageFrameRate is null.

Issues
Fixes #6198

@marissa999 marissa999 requested a review from a team as a code owner October 14, 2024 12:42
@jellyfin-bot
Copy link
Collaborator

jellyfin-bot commented Oct 14, 2024

Cloudflare Pages deployment

Latest commit 97a5762
Status ✅ Deployed!
Preview URL https://3c07d0b3.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs

@thornbill thornbill added the bug Something isn't working label Oct 15, 2024
@thornbill thornbill added this to the v10.10.0 milestone Oct 15, 2024
@thornbill thornbill modified the milestones: v10.10.0, v10.10.1 Oct 28, 2024
@thornbill thornbill changed the title #6198 Fix missing transcoding speed info Fix missing transcoding speed info Oct 30, 2024
Copy link

sonarcloud bot commented Nov 1, 2024

@thornbill thornbill added the stable backport Backport into the next stable release label Nov 1, 2024
@thornbill thornbill merged commit 6d37cfc into jellyfin:release-10.10.z Nov 1, 2024
14 checks passed
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label Nov 3, 2024
joshuaboniface pushed a commit that referenced this pull request Nov 3, 2024
Fix missing transcoding speed info

Original-merge: 6d37cfc

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants