[PR #4205] [MERGED] Fix aspect ratio calculation sometimes returning 0 or 1 #9942

Closed
opened 2026-02-07 06:11:14 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4205
Author: @cvium
Created: 9/25/2020
Status: Merged
Merged: 9/25/2020
Merged by: @Bond-009

Base: masterHead: fix_aspectratio_calc


📝 Commits (1)

  • ec5b738 Fix aspect ratio calculation returning 0 or 1 when item has no default AR

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 Emby.Server.Implementations/Dto/DtoService.cs (+1 -1)

📄 Description

Changes
int / int = int

(double)int / int = double


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/4205 **Author:** [@cvium](https://github.com/cvium) **Created:** 9/25/2020 **Status:** ✅ Merged **Merged:** 9/25/2020 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `fix_aspectratio_calc` --- ### 📝 Commits (1) - [`ec5b738`](https://github.com/jellyfin/jellyfin/commit/ec5b7380792b6274ae2ce9e0281a3eac7beccdbd) Fix aspect ratio calculation returning 0 or 1 when item has no default AR ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Dto/DtoService.cs` (+1 -1) </details> ### 📄 Description **Changes** int / int = int (double)int / int = double --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:11:14 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9942