aboutsummaryrefslogtreecommitdiff
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
parentf26534ca8d7107b14fdd5a02cbadd56505d159de (diff)
Disable video hardware acceleration as it freezes xorg
-rw-r--r--README.md3
-rw-r--r--src/VideoPlayer.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 57a83d3..61a108c 100644
--- a/README.md
+++ b/README.md
@@ -31,4 +31,5 @@ Add scrollbar.\
Add option to scale image to window size.\
If you search too fast the search suggestion wont show up and when you press enter it will clear and you wont progress.
The search should wait until there are search results before clearing the search field and selecting the search suggestion.\
-Currently the video player doesn't have any UI and the only input that works is `ESC` (exit video) and `space` (toggle pause). \ No newline at end of file
+Currently the video player doesn't have any UI and the only input that works is `ESC` (exit video) and `space` (toggle pause).
+Also full-screening a video doesn't work. \ No newline at end of file
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;