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

Add tests for ProbeResultNormalizer.GetFrameRate #6978

Merged
merged 2 commits into from
Dec 18, 2021

Conversation

Bond-009
Copy link
Member

No description provided.

}

return float.IsNaN(result) ? null : result;
return divisor == 0f ? 0f : dividend / divisor;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's fine to compare directly with 0 here,
it isn't the result of a calculation or something and I only care about exactly 0.

@github-actions
Copy link

github-actions bot commented Dec 15, 2021

No changes to OpenAPI specification found. See history of this comment for previous changes.

@Bond-009 Bond-009 requested a review from cvium December 16, 2021 22:49
@crobibero crobibero merged commit 232a148 into jellyfin:master Dec 18, 2021
@Bond-009 Bond-009 deleted the framerate branch December 18, 2021 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants