add a method to use custom fallback fonts for subtitle rendering

This commit is contained in:
nyanmisaka
2020-07-24 21:19:56 +08:00
parent 912946a427
commit c888b34a62
2 changed files with 58 additions and 0 deletions

View File

@@ -9,6 +9,10 @@ namespace MediaBrowser.Model.Configuration
public string TranscodingTempPath { get; set; }
public string FallbackFontPath { get; set; }
public bool EnableFallbackFont { get; set; }
public double DownMixAudioBoost { get; set; }
public bool EnableThrottling { get; set; }
@@ -49,6 +53,7 @@ namespace MediaBrowser.Model.Configuration
public EncodingOptions()
{
EnableFallbackFont = false;
DownMixAudioBoost = 2;
EnableThrottling = false;
ThrottleDelaySeconds = 180;