diff options
| author | nyanmisaka <nst799610810@gmail.com> | 2026-06-02 20:41:30 +0800 |
|---|---|---|
| committer | nyanmisaka <nst799610810@gmail.com> | 2026-06-02 20:41:30 +0800 |
| commit | 081f0ef4a065d5043463ebd27921e653fd3ed148 (patch) | |
| tree | 7194e325da36796e2f9d543d6544b40d37874ea1 /MediaBrowser.Model | |
| parent | 53eda14dccddbcbd8806150489ff8f4495814631 (diff) | |
Make EncoderPreset non nullable
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
Diffstat (limited to 'MediaBrowser.Model')
| -rw-r--r-- | MediaBrowser.Model/Configuration/EncodingOptions.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Configuration/EncodingOptions.cs b/MediaBrowser.Model/Configuration/EncodingOptions.cs index f5bb5330ed..4d052d8012 100644 --- a/MediaBrowser.Model/Configuration/EncodingOptions.cs +++ b/MediaBrowser.Model/Configuration/EncodingOptions.cs @@ -43,6 +43,7 @@ public class EncodingOptions VppTonemappingContrast = 1; H264Crf = 23; H265Crf = 28; + EncoderPreset = EncoderPreset.auto; DeinterlaceDoubleRate = false; DeinterlaceMethod = DeinterlaceMethod.yadif; EnableDecodingColorDepth10Hevc = true; @@ -217,7 +218,7 @@ public class EncodingOptions /// <summary> /// Gets or sets the encoder preset. /// </summary> - public EncoderPreset? EncoderPreset { get; set; } + public EncoderPreset EncoderPreset { get; set; } /// <summary> /// Gets or sets a value indicating whether the framerate is doubled when deinterlacing. |
