aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorBill Thornton <thornbill@users.noreply.github.com>2020-11-25 10:45:52 -0500
committerGitHub <noreply@github.com>2020-11-25 10:45:52 -0500
commit79f197938dc929dbcc5c20174cc2e065c1643987 (patch)
treeba70e7ef473bcd85dd4a66426babcaabb0316875 /Jellyfin.Server/Program.cs
parent3d6920ae40162e5c063bae543b5f0fbe1f8cb277 (diff)
parentb042a9f539aca5a1b78ca4353a516963e3a6cde9 (diff)
Merge pull request #4570 from nyanmisaka/tonemap-vaapi
Add Tonemapping for Intel VAAPI
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index db67f6470..a1a7a3053 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -106,6 +106,10 @@ namespace Jellyfin.Server
// $JELLYFIN_LOG_DIR needs to be set for the logger configuration manager
Environment.SetEnvironmentVariable("JELLYFIN_LOG_DIR", appPaths.LogDirectoryPath);
+ // Enable cl-va P010 interop for tonemapping on Intel VAAPI
+ Environment.SetEnvironmentVariable("NEOReadDebugKeys", "1");
+ Environment.SetEnvironmentVariable("EnableExtendedVaFormats", "1");
+
await InitLoggingConfigFile(appPaths).ConfigureAwait(false);
// Create an instance of the application configuration to use for application startup