mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix potential problem where aspect ratio would be incorrectly calculated
This commit is contained in:
parent
99acf83dfa
commit
bddfca6215
@ -79,8 +79,7 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
width /= Height.Value;
|
return width / height;
|
||||||
return width;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return base.GetDefaultPrimaryImageAspectRatio();
|
return base.GetDefaultPrimaryImageAspectRatio();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user