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

This commit is contained in:
cvium 2020-09-24 23:09:26 +02:00
parent 226316a486
commit ec5b738079

View File

@ -1431,7 +1431,7 @@ namespace Emby.Server.Implementations.Dto
return null;
}
return width / height;
return (double)width / height;
}
}
}