aboutsummaryrefslogtreecommitdiff
path: root/src/VideoPlayer.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-02 17:56:06 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-02 17:56:06 +0200
commit87c7a3c659735dbe4bda63712372e3dbdf807c3b (patch)
treef4fe817997a115d99c9b7a643a187adf2eb33d4c /src/VideoPlayer.cpp
parenta6a309c0c9828d62e81632a863108d6b5233d1ba (diff)
Matrix: do a HEAD request to selected url to determinate type before using mpv or xdg-open
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 c93b5e8..0b173dd 100644
--- a/src/VideoPlayer.cpp
+++ b/src/VideoPlayer.cpp
@@ -85,6 +85,7 @@ namespace QuickMedia {
"--no-resume-playback",
"--cursor-autohide=no", /* "--no-input-default-bindings", "--input-vo-keyboard=no", "--no-input-cursor", */
"--no-terminal",
+ "--profile=pseudo-gui", // For gui when playing audio, requires a version of mpv that isn't ancient
"--ytdl-raw-options=sub-lang=\"en,eng,enUS,en-US\",write-sub=",
input_conf.c_str(),
wid_arg.c_str()