diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-06-11 23:49:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-06-11 23:49:59 +0200 |
commit | a3843702b93513052e1e167d52f232b5a5301bd0 (patch) | |
tree | a1393c0491a7d83e7397120a9f5fc8ba7ec75020 /src/VideoPlayer.cpp | |
parent | fd20b4fba2d9a3b5d6be28208dc9f2b58f9cd3ff (diff) |
Fix youtube download
Diffstat (limited to 'src/VideoPlayer.cpp')
-rw-r--r-- | src/VideoPlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |