summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorRipose <ripose@protonmail.com>2021-11-13 15:55:53 -0800
committerDudemanguy <random342@airmail.cc>2022-01-19 14:27:04 +0000
commit04f0b0abe48d664aaa1400d1dddb02b434999b85 (patch)
treecc784261e29a6834d7e81ff763fc060867672748 /options/options.h
parent1ab3f56df0d7be3b4152bd9e0cc50c1938ff6d70 (diff)
downloadmpv-04f0b0abe48d664aaa1400d1dddb02b434999b85.tar.bz2
mpv-04f0b0abe48d664aaa1400d1dddb02b434999b85.tar.xz
options: add --sub-visibility=<primary-only|secondary-only>
Adds --sub-visibility choices 'primary-only' for only displaying the primary subtitle track, and 'secondary-only' for only displaying secondary subtitle track. Removes --secondary-sub-visibility and displays a message telling the user to use --sub-visibility=yes/primary-only instead. These changes make it so that the default 'sub-visibility' bind 'v' cycles through all the 'sub-visibility' choices, 'no', 'yes', 'primary-only', and 'secondary-only'.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/options/options.h b/options/options.h
index 53e8de7852..90e9ad6424 100644
--- a/options/options.h
+++ b/options/options.h
@@ -73,7 +73,6 @@ typedef struct mp_vo_opts {
// Subtitle options needed by the subtitle decoders/renderers.
struct mp_subtitle_opts {
int sub_visibility;
- int sec_sub_visibility;
int sub_pos;
float sub_delay;
float sub_fps;