diff options
| author | William Taylor <me@willtaylor.info> | 2019-01-20 21:54:07 +0000 |
|---|---|---|
| committer | William Taylor <me@willtaylor.info> | 2019-01-20 21:54:07 +0000 |
| commit | 190bc46c1bb0845fb30043a202acd1c621935540 (patch) | |
| tree | 377a8b547d6e7be24f8c8ca229404939c20404ae /Jellyfin.Server/Program.cs | |
| parent | e62198650eac2f67e75918de95d23fe4833903a5 (diff) | |
Removed unused parameters from Program.getImageEncoder
Diffstat (limited to 'Jellyfin.Server/Program.cs')
| -rw-r--r-- | Jellyfin.Server/Program.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index 573c63385..b1ca3bc40 100644 --- a/Jellyfin.Server/Program.cs +++ b/Jellyfin.Server/Program.cs @@ -103,7 +103,7 @@ namespace Jellyfin.Server { appHost.Init(); - appHost.ImageProcessor.ImageEncoder = getImageEncoder(_loggerFactory, fileSystem, options, () => appHost.HttpClient, appPaths, environmentInfo, appHost.LocalizationManager); + appHost.ImageProcessor.ImageEncoder = getImageEncoder(fileSystem, () => appHost.HttpClient, appPaths, appHost.LocalizationManager); _logger.LogInformation("Running startup tasks"); @@ -257,17 +257,14 @@ namespace Jellyfin.Server } public static IImageEncoder getImageEncoder( - ILoggerFactory loggerFactory, IFileSystem fileSystem, - StartupOptions startupOptions, Func<IHttpClient> httpClient, IApplicationPaths appPaths, - IEnvironmentInfo environment, ILocalizationManager localizationManager) { try { - return new SkiaEncoder(loggerFactory, appPaths, httpClient, fileSystem, localizationManager); + return new SkiaEncoder(_loggerFactory, appPaths, httpClient, fileSystem, localizationManager); } catch (Exception ex) { |
