Fix compilation after rebase

This commit is contained in:
Vasily 2020-05-19 00:22:52 +03:00
parent fe480caf54
commit 02da312f8a
2 changed files with 2 additions and 2 deletions

View File

@ -1837,7 +1837,7 @@ namespace Emby.Server.Implementations.Library
.ForEach(x =>
{
string blurhash = ImageProcessor.GetImageHash(x.Path);
ImageDimensions size = ImageProcessor.GetImageDimensions(item, x, true);
ImageDimensions size = ImageProcessor.GetImageDimensions(item, x);
x.Width = size.Width;
x.Height = size.Height;
x.Hash = blurhash;

View File

@ -336,7 +336,7 @@ namespace MediaBrowser.Api.Images
blurhash = _imageProcessor.GetImageHash(info.Path);
info.Hash = blurhash; // TODO: this doesn't seem like the right thing to do
ImageDimensions size = _imageProcessor.GetImageDimensions(item, info, true);
ImageDimensions size = _imageProcessor.GetImageDimensions(item, info);
_libraryManager.UpdateImages(item);
width = size.Width;
height = size.Height;