aboutsummaryrefslogtreecommitdiff
path: root/src/VideoPlayer.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-14 08:54:55 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-14 08:54:55 +0200
commit2c0347ff7a13896dcc64c1deb4447449790bad73 (patch)
tree9d12802eef11fda8646454e6e79e25546359181f /src/VideoPlayer.cpp
parentd37b3a7aac87e5f60c49202c824d985e53b7b544 (diff)
Workaround shitty mpv pulseaudio issue where the video is frozen. Try reloading video on failure to load
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 fe4643e..379b5b4 100644
--- a/src/VideoPlayer.cpp
+++ b/src/VideoPlayer.cpp
@@ -105,6 +105,7 @@ namespace QuickMedia {
// TODO: Disable hr seek on low power devices?
"--hr-seek=yes",
//"--cache=no",
+ "--cache-pause=no",
input_conf.c_str(),
wid_arg.c_str()
});