aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-08-08 22:18:06 +0200
committerdec05eba <dec05eba@protonmail.com>2019-08-08 22:18:09 +0200
commite061971e5f1dee5a6e1541bc88a192e9ca8e9422 (patch)
tree90be4a0cae47d367a338d840d7f1abb7df62f8fa /src
parentf26534ca8d7107b14fdd5a02cbadd56505d159de (diff)
Disable video hardware acceleration as it freezes xorg
Diffstat (limited to 'src')
-rw-r--r--src/VideoPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp
index e0e69df..e1c8f73 100644
--- a/src/VideoPlayer.cpp
+++ b/src/VideoPlayer.cpp
@@ -50,7 +50,7 @@ namespace QuickMedia {
const char *args[] = { "mpv", /*"--keep-open=yes", "--keep-open-pause=no",*/ "--input-ipc-server", ipc_server_path,
"--no-config", "--no-input-default-bindings", "--input-vo-keyboard=no", "--no-input-cursor",
"--cache-secs=120", "--demuxer-max-bytes=20M", "--demuxer-max-back-bytes=10M",
- "--vo=gpu", "--hwdec=auto",
+ /*"--vo=gpu", "--hwdec=auto",*/
"--wid", parent_window_str.c_str(), "--", path, nullptr };
if(exec_program_async(args, &video_process_id) != 0)
return Error::FAIL_TO_LAUNCH_PROCESS;