Merge pull request #520 from hawken93/fix_aspect
Fix potential bug where aspect ratio would be incorrectly calculated
This commit is contained in:
commit
5b1f36ef27
|
@ -79,8 +79,7 @@ namespace MediaBrowser.Controller.Entities
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
width /= Height.Value;
|
return width / height;
|
||||||
return width;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return base.GetDefaultPrimaryImageAspectRatio();
|
return base.GetDefaultPrimaryImageAspectRatio();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user