Explorar o código

Fix TrySetResolution

abeloin %!s(int64=11) %!d(string=hai) anos
pai
achega
a05de5ad0c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      MediaBrowser.Controller/Drawing/ImageExtensions.cs

+ 1 - 1
MediaBrowser.Controller/Drawing/ImageExtensions.cs

@@ -198,7 +198,7 @@ namespace MediaBrowser.Controller.Drawing
         {
             if (x > 0 && y > 0)
             {
-                bmp.SetResolution(bmp.HorizontalResolution, bmp.VerticalResolution);
+                bmp.SetResolution(x, y);
             }
         }