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 New Issue
Block a user