mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 22:38:30 +01:00
Merge pull request #17007 from nyanmisaka/make-encoder-preset-non-nullable
Make EncoderPreset non nullable
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user