aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model
diff options
context:
space:
mode:
authornyanmisaka <nst799610810@gmail.com>2020-04-09 00:15:01 +0800
committerVasily <just.one.man@yandex.ru>2020-05-26 18:06:49 +0300
commitb4b93995f7f05971bd8532cadc9b80db07de9ab3 (patch)
tree560999ff271dc7e2e57cafc673e01dbaf916bd1a /MediaBrowser.Model
parent976ae36bea0768f0e363bf0c5091b0853cc81c4d (diff)
add more separate hw decoding toggles
Diffstat (limited to 'MediaBrowser.Model')
-rw-r--r--MediaBrowser.Model/Configuration/EncodingOptions.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/EncodingOptions.cs b/MediaBrowser.Model/Configuration/EncodingOptions.cs
index 648568fd7..dfc0deea9 100644
--- a/MediaBrowser.Model/Configuration/EncodingOptions.cs
+++ b/MediaBrowser.Model/Configuration/EncodingOptions.cs
@@ -25,6 +25,7 @@ namespace MediaBrowser.Model.Configuration
public int H265Crf { get; set; }
public string EncoderPreset { get; set; }
public string DeinterlaceMethod { get; set; }
+ public bool EnableDecodingColorDepth10 { get; set; }
public bool EnableHardwareEncoding { get; set; }
public bool EnableSubtitleExtraction { get; set; }
@@ -41,6 +42,7 @@ namespace MediaBrowser.Model.Configuration
H264Crf = 23;
H265Crf = 28;
DeinterlaceMethod = "yadif";
+ EnableDecodingColorDepth10 = true;
EnableHardwareEncoding = true;
EnableSubtitleExtraction = true;
HardwareDecodingCodecs = new string[] { "h264", "vc1" };