mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 00:35:26 +03:00
fixes #2578 - [VAAPI Bug] HEVC Decoding not possible on Intel hardware without this ability
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user