aboutsummaryrefslogtreecommitdiff
path: root/src/VideoPlayer.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-04 12:37:22 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-04 12:37:22 +0200
commitb6b4db460ce5bfdfe7c4e46a89ef370b6cc31752 (patch)
treef62748bf220984eba23705a945335fb9506a543d /src/VideoPlayer.cpp
parentab5065e541cb6f84b11062892ce25f033c7fa82d (diff)
Use x11 on wayland, to make mpv embedding possible
Diffstat (limited to 'src/VideoPlayer.cpp')
-rw-r--r--src/VideoPlayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp
index 3f3df0c..a6f3640 100644
--- a/src/VideoPlayer.cpp
+++ b/src/VideoPlayer.cpp
@@ -109,6 +109,7 @@ namespace QuickMedia {
ytdl_format.c_str(),
// TODO: Disable hr seek on low power devices?
"--hr-seek=yes",
+ "--gpu-context=x11egl",
input_conf.c_str(),
wid_arg.c_str()
});