mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:28:23 +00:00
Make EncoderPreset non nullable
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
parent
53eda14dcc
commit
081f0ef4a0
1 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue