aboutsummaryrefslogtreecommitdiff
path: root/src/VideoPlayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VideoPlayer.cpp')
-rw-r--r--src/VideoPlayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp
index 9845442..8bb6825 100644
--- a/src/VideoPlayer.cpp
+++ b/src/VideoPlayer.cpp
@@ -13,7 +13,7 @@
#include <signal.h>
const int RETRY_TIME_MS = 500;
-const int MAX_RETRIES_CONNECT = 10;
+const int MAX_RETRIES_CONNECT = 20;
const int READ_TIMEOUT_MS = 200;
namespace QuickMedia {
@@ -80,6 +80,8 @@ namespace QuickMedia {
"--no-input-terminal",
"--no-osc",
"--profile=gpu-hq",
+ "--vo=gpu",
+ "--hwdec=auto",
"--no-resume-playback",
/*"--vo=gpu", "--hwdec=auto",*/
wid_arg.c_str(), "--", path, nullptr });