ソースを参照

enable cl-va p010 interop

Nyanmisaka 4 年 前
コミット
75963d9181
1 ファイル変更4 行追加0 行削除
  1. 4 0
      Jellyfin.Server/Program.cs

+ 4 - 0
Jellyfin.Server/Program.cs

@@ -106,6 +106,10 @@ namespace Jellyfin.Server
             // $JELLYFIN_LOG_DIR needs to be set for the logger configuration manager
             // $JELLYFIN_LOG_DIR needs to be set for the logger configuration manager
             Environment.SetEnvironmentVariable("JELLYFIN_LOG_DIR", appPaths.LogDirectoryPath);
             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);
             await InitLoggingConfigFile(appPaths).ConfigureAwait(false);
 
 
             // Create an instance of the application configuration to use for application startup
             // Create an instance of the application configuration to use for application startup