google-chrome: add libva support
Chrome cannot do hardware video acceleration without libva in its search path. This just adds libva. Tested against a VP9 video looking at chrome://media-internals and intel_gpu_top.
This commit is contained in:
parent
3d92c78160
commit
ed0d586941
@ -39,6 +39,9 @@
|
|||||||
|
|
||||||
, gsettings-desktop-schemas
|
, gsettings-desktop-schemas
|
||||||
, gnome3
|
, gnome3
|
||||||
|
|
||||||
|
# For video acceleration via VA-API (--enable-features=VaapiVideoDecoder)
|
||||||
|
, libvaSupport ? true, libva
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
@ -63,6 +66,7 @@ let
|
|||||||
kerberos libdrm mesa coreutils
|
kerberos libdrm mesa coreutils
|
||||||
libxkbcommon wayland
|
libxkbcommon wayland
|
||||||
] ++ optional pulseSupport libpulseaudio
|
] ++ optional pulseSupport libpulseaudio
|
||||||
|
++ optional libvaSupport libva
|
||||||
++ [ gtk3 ];
|
++ [ gtk3 ];
|
||||||
|
|
||||||
suffix = if channel != "stable" then "-" + channel else "";
|
suffix = if channel != "stable" then "-" + channel else "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user