summaryrefslogtreecommitdiffstats
path: root/sub/dec_sub.h
diff options
context:
space:
mode:
authorZsolt Vadasz <zsolt_vadasz@protonmail.com>2021-01-13 16:59:08 +0100
committerDudemanguy <random342@airmail.cc>2021-05-19 15:56:43 +0000
commit62f225ef9d6e30c286c6a94f3bef147f7114696c (patch)
treef23b7a13b2a4250aaefa0a3784c86db82e3b825f /sub/dec_sub.h
parentda0c1b8404fc17586dd945b013ee732cc4628a7c (diff)
downloadmpv-62f225ef9d6e30c286c6a94f3bef147f7114696c.tar.bz2
mpv-62f225ef9d6e30c286c6a94f3bef147f7114696c.tar.xz
sub/osd: hide secondary subtitles if secondary-sub-visibility is false
Diffstat (limited to 'sub/dec_sub.h')
-rw-r--r--sub/dec_sub.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/dec_sub.h b/sub/dec_sub.h
index f998b59f6b..542c24798f 100644
--- a/sub/dec_sub.h
+++ b/sub/dec_sub.h
@@ -10,7 +10,6 @@ struct sh_stream;
struct mpv_global;
struct demux_packet;
struct mp_recorder_sink;
-
struct dec_sub;
struct sd;
@@ -52,6 +51,7 @@ void sub_reset(struct dec_sub *sub);
void sub_select(struct dec_sub *sub, bool selected);
void sub_set_recorder_sink(struct dec_sub *sub, struct mp_recorder_sink *sink);
void sub_set_play_dir(struct dec_sub *sub, int dir);
+bool sub_is_secondary_visible(struct dec_sub *sub);
int sub_control(struct dec_sub *sub, enum sd_ctrl cmd, void *arg);