From 62f225ef9d6e30c286c6a94f3bef147f7114696c Mon Sep 17 00:00:00 2001 From: Zsolt Vadasz Date: Wed, 13 Jan 2021 16:59:08 +0100 Subject: sub/osd: hide secondary subtitles if secondary-sub-visibility is false --- sub/dec_sub.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub/dec_sub.h') 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); -- cgit v1.2.3