Merge pull request #7975 from jellyfin/libva-driver-env

pull/8001/head
Bond-009 2 years ago committed by GitHub
commit 910df89cce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -714,6 +714,9 @@ namespace MediaBrowser.Controller.MediaEncoding
} }
else if (_mediaEncoder.IsVaapiDeviceInteli965) else if (_mediaEncoder.IsVaapiDeviceInteli965)
{ {
// Only override i965 since it has lower priority than iHD in libva lookup.
Environment.SetEnvironmentVariable("LIBVA_DRIVER_NAME", "i965");
Environment.SetEnvironmentVariable("LIBVA_DRIVER_NAME_JELLYFIN", "i965");
args.Append(GetVaapiDeviceArgs(null, "i965", null, VaapiAlias)); args.Append(GetVaapiDeviceArgs(null, "i965", null, VaapiAlias));
} }
else else

Loading…
Cancel
Save