Merge pull request #4205 from cvium/fix_aspectratio_calc
Fix aspect ratio calculation sometimes returning 0 or 1
This commit is contained in:
@@ -1431,7 +1431,7 @@ namespace Emby.Server.Implementations.Dto
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return width / height;
|
return (double)width / height;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user