mpv: Fix mpv with Gnome

This commit is contained in:
PapaTutuWawa 2022-04-07 19:54:10 +02:00
parent e3265f95ad
commit 976ee57078

View File

@ -3,11 +3,11 @@
let
mkAnime4kShader = shader: "${pkgs.anime4k}/usr/share/shaders/${shader}";
mkDefaultShader = shader: "${pkgs.mpv-shader-pack}/usr/share/shaders/${shader}";
makeMpvProfile = { shader, additional ? {} }: {
makeMpvProfile = { shader, gpuContext ? "waylandvk", additional ? {} }: {
glsl-shaders = shader;
scale = "ewa_lanczossharp";
cscale = "ewa_lanczossharp";
gpu-context = "wayland";
gpu-context = gpuContext;
gpu-api = "vulkan";
hwdec = "vaapi";
vo = "gpu";