Merge pull request #4205 from cvium/fix_aspectratio_calc

Fix aspect ratio calculation sometimes returning 0 or 1
pull/4210/head
Bond-009 4 years ago committed by GitHub
commit c67ffa417a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save