aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--src/VideoPlayer.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/TODO b/TODO
index 648a297..95247a7 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,5 @@
If a search returns no results, then "No results found for ..." should be shown and navigation should go back to searching with suggestions.
Give user the option to start where they left off or from the start or from the start.
-Disable ytdl_hook subtitles. If a video has subtitles for many languages, then it will stall video playback for several seconds until all subtitles have been downloaded and loaded.
Add grid-view when thumbnails are visible.
Add scrollbar.
Add option to scale image to window size.
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp
index 5099a6b..1f25b8b 100644
--- a/src/VideoPlayer.cpp
+++ b/src/VideoPlayer.cpp
@@ -81,6 +81,7 @@ namespace QuickMedia {
"--no-resume-playback",
"--cursor-autohide=no", /* "--no-input-default-bindings", "--input-vo-keyboard=no", "--no-input-cursor", */
"--no-terminal",
+ "--ytdl-raw-options=sub-lang=\"en,eng,enUS,en-US\",write-sub=",
wid_arg.c_str()
});