mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-06 05:43:03 +02:00
Fix aspect ratio calculation returning 0 or 1 when item has no default AR
This commit is contained in:
parent
226316a486
commit
ec5b738079
|
@ -1431,7 +1431,7 @@ namespace Emby.Server.Implementations.Dto
|
|||
return null;
|
||||
}
|
||||
|
||||
return width / height;
|
||||
return (double)width / height;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue