aboutsummaryrefslogtreecommitdiff
path: root/src/Video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Video.cpp')
-rw-r--r--src/Video.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Video.cpp b/src/Video.cpp
index 4ef3128..2b32daf 100644
--- a/src/Video.cpp
+++ b/src/Video.cpp
@@ -70,8 +70,9 @@ namespace dchat
if(mpv_initialize(mpv) < 0)
throw VideoInitializationException("Failed to initialize mpv");
- mpv_set_option_string(mpv, "vo", "opengl-cb");
- mpv_set_option_string(mpv, "hwdec", "auto");
+ // TODO: Enable this again, but right now it can caused Xorg process to use 100% cpu.
+ //mpv_set_option_string(mpv, "vo", "opengl-cb");
+ //mpv_set_option_string(mpv, "hwdec", "auto");
if(loop)
mpv_set_option_string(mpv, "loop", "inf");
mpvGl = (mpv_opengl_cb_context*)mpv_get_sub_api(mpv, MPV_SUB_API_OPENGL_CB);