From a3843702b93513052e1e167d52f232b5a5301bd0 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 11 Jun 2025 23:49:59 +0200 Subject: Fix youtube download --- src/VideoPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/VideoPlayer.cpp') diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp index 0fac7aa..da92bf7 100644 --- a/src/VideoPlayer.cpp +++ b/src/VideoPlayer.cpp @@ -218,7 +218,7 @@ namespace QuickMedia { args.push_back("--resume-playback=no"); } - if(is_running_wayland()) { + if(is_running_wayland(display)) { args.push_back("--gpu-context=x11egl"); fprintf(stderr, "Wayland detected. Launching mpv in x11egl mode\n"); } -- cgit v1.2.3-70-g09d2