Merge pull request #520 from hawken93/fix_aspect

Fix potential bug where aspect ratio would be incorrectly calculated
This commit is contained in:
Joshua M. Boniface 2019-01-15 22:37:01 -05:00 committed by GitHub
commit 5b1f36ef27

View file

@ -79,8 +79,7 @@ namespace MediaBrowser.Controller.Entities
}
}
width /= Height.Value;
return width;
return width / height;
}
return base.GetDefaultPrimaryImageAspectRatio();