mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-03 22:40:09 +00:00
fixes #2578 - [VAAPI Bug] HEVC Decoding not possible on Intel hardware without this ability
This commit is contained in:
parent
06967d540f
commit
ceed0241fd
2 changed files with 20 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue