aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Dto
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-08-11 16:52:37 +0200
committerBond_009 <bond.009@outlook.com>2019-08-11 16:52:37 +0200
commit838e5d05d51c4c171c07d512f741304a6dc58f24 (patch)
tree443dedcf4667ce51909e42eb6c8cd1aefd300a80 /Emby.Server.Implementations/Dto
parent1ad67e223f581efd417efa2bb1cb626c50a6f5a9 (diff)
Document all public/internal members of Emby.Drawing
Forces all new public/internal members to be documented. Enables TreatWarningsAsErrors for Emby.Drawing
Diffstat (limited to 'Emby.Server.Implementations/Dto')
-rw-r--r--Emby.Server.Implementations/Dto/DtoService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs
index 6e7aa13139..1a7f10634b 100644
--- a/Emby.Server.Implementations/Dto/DtoService.cs
+++ b/Emby.Server.Implementations/Dto/DtoService.cs
@@ -1364,7 +1364,7 @@ namespace Emby.Server.Implementations.Dto
return null;
}
- var supportedEnhancers = _imageProcessor.GetSupportedEnhancers(item, ImageType.Primary);
+ var supportedEnhancers = _imageProcessor.GetSupportedEnhancers(item, ImageType.Primary).ToArray();
ImageDimensions size;