From 04f0b0abe48d664aaa1400d1dddb02b434999b85 Mon Sep 17 00:00:00 2001 From: Ripose Date: Sat, 13 Nov 2021 15:55:53 -0800 Subject: options: add --sub-visibility= 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'. --- options/options.h | 1 - 1 file changed, 1 deletion(-) (limited to 'options/options.h') 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; -- cgit v1.2.3