Merge pull request #7975 from jellyfin/libva-driver-env
(cherry picked from commit 910df89cce
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
parent
074d7dc6b6
commit
7dab8b8f88
|
@ -716,6 +716,9 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
}
|
||||
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));
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user