aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicknsy <20588554+nicknsy@users.noreply.github.com>2023-03-04 16:19:09 -0800
committerNick <20588554+nicknsy@users.noreply.github.com>2023-06-22 16:23:51 -0700
commit2e2085a212312282e20dcb6578503b6daff9b72e (patch)
tree1a69b63fe06d911b47009b0bfb2405f82eb3bc53
parentd84370a6f72111b544f1bbcaa8f3b0339148b5f8 (diff)
HashSet datatype was causing default values to always be added on server start
-rw-r--r--MediaBrowser.Model/Configuration/TrickplayOptions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Configuration/TrickplayOptions.cs b/MediaBrowser.Model/Configuration/TrickplayOptions.cs
index d527baaa4..f85259a14 100644
--- a/MediaBrowser.Model/Configuration/TrickplayOptions.cs
+++ b/MediaBrowser.Model/Configuration/TrickplayOptions.cs
@@ -31,7 +31,7 @@ namespace MediaBrowser.Model.Configuration
/// <summary>
/// Gets or sets the target width resolutions, in px, to generates preview images for.
/// </summary>
- public HashSet<int> WidthResolutions { get; set; } = new HashSet<int> { 320 };
+ public int[] WidthResolutions { get; set; } = new[] { 320 };
/// <summary>
/// Gets or sets number of tile images to allow in X dimension.
@@ -51,7 +51,7 @@ namespace MediaBrowser.Model.Configuration
/// <summary>
/// Gets or sets the jpeg quality to use for image tiles.
/// </summary>
- public int JpegQuality { get; set; } = 90;
+ public int JpegQuality { get; set; } = 80;
/// <summary>
/// Gets or sets the number of threads to be used by ffmpeg.