mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 07:10:34 +02:00
Merge pull request #4205 from cvium/fix_aspectratio_calc
Fix aspect ratio calculation sometimes returning 0 or 1
This commit is contained in:
commit
c67ffa417a
|
@ -1431,7 +1431,7 @@ namespace Emby.Server.Implementations.Dto
|
|||
return null;
|
||||
}
|
||||
|
||||
return width / height;
|
||||
return (double)width / height;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue