diff options
Diffstat (limited to 'sub/dec_sub.c')
-rw-r--r-- | sub/dec_sub.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sub/dec_sub.c b/sub/dec_sub.c index 6525c41653..a283a5151d 100644 --- a/sub/dec_sub.c +++ b/sub/dec_sub.c @@ -453,12 +453,7 @@ void sub_set_play_dir(struct dec_sub *sub, int dir) pthread_mutex_unlock(&sub->lock); } -bool sub_is_primary_visible(struct dec_sub *sub) -{ - return sub->opts->sub_visibility == 1 || sub->opts->sub_visibility == 2; -} - bool sub_is_secondary_visible(struct dec_sub *sub) { - return sub->opts->sub_visibility == 1 || sub->opts->sub_visibility == 3; + return !!sub->opts->sec_sub_visibility; } |