fixes #2578 - [VAAPI Bug] HEVC Decoding not possible on Intel hardware without this ability

This commit is contained in:
Luke Pulverenti
2017-06-12 02:11:19 -04:00
parent 06967d540f
commit ceed0241fd
2 changed files with 20 additions and 7 deletions

View File

@@ -13,6 +13,8 @@ namespace MediaBrowser.Model.Configuration
public string VaapiDevice { get; set; }
public int H264Crf { get; set; }
public string H264Preset { get; set; }
public bool EnableHardwareDecoding { get; set; }
public bool EnableHardwareEncoding { get; set; }
public EncodingOptions()
{
@@ -22,6 +24,8 @@ namespace MediaBrowser.Model.Configuration
EncodingThreadCount = -1;
VaapiDevice = "/dev/dri/card0";
H264Crf = 23;
EnableHardwareDecoding = true;
EnableHardwareEncoding = true;
}
}
}