mpv: Fix mpv with Gnome
This commit is contained in:
parent
e3265f95ad
commit
976ee57078
@ -3,11 +3,11 @@
|
|||||||
let
|
let
|
||||||
mkAnime4kShader = shader: "${pkgs.anime4k}/usr/share/shaders/${shader}";
|
mkAnime4kShader = shader: "${pkgs.anime4k}/usr/share/shaders/${shader}";
|
||||||
mkDefaultShader = shader: "${pkgs.mpv-shader-pack}/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;
|
glsl-shaders = shader;
|
||||||
scale = "ewa_lanczossharp";
|
scale = "ewa_lanczossharp";
|
||||||
cscale = "ewa_lanczossharp";
|
cscale = "ewa_lanczossharp";
|
||||||
gpu-context = "wayland";
|
gpu-context = gpuContext;
|
||||||
gpu-api = "vulkan";
|
gpu-api = "vulkan";
|
||||||
hwdec = "vaapi";
|
hwdec = "vaapi";
|
||||||
vo = "gpu";
|
vo = "gpu";
|
||||||
|
Loading…
Reference in New Issue
Block a user