diff options
author | dudemanguy <random342@airmail.cc> | 2018-10-26 09:51:47 -0500 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2019-09-21 15:36:58 +0200 |
commit | 48740dfec5303a390e223b0626daf4730f65f948 (patch) | |
tree | 9576e09084fca777447164d34eb44df7cf94f931 /player | |
parent | 1591ccfff5871ef581d1d2992e9c517f29aaf301 (diff) | |
download | mpv-48740dfec5303a390e223b0626daf4730f65f948.tar.bz2 mpv-48740dfec5303a390e223b0626daf4730f65f948.tar.xz |
osd: allow sub-text to work even if sub-visibility is disabled
Diffstat (limited to 'player')
-rw-r--r-- | player/osd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/osd.c b/player/osd.c index c2af83b08c..2f1e5d5fb8 100644 --- a/player/osd.c +++ b/player/osd.c @@ -98,7 +98,7 @@ static void term_osd_update(struct MPContext *mpctx) void term_osd_set_subs(struct MPContext *mpctx, const char *text) { - if (mpctx->video_out || !text) + if (mpctx->video_out || !text || !mpctx->opts->subs_rend->sub_visibility) text = ""; // disable if (strcmp(mpctx->term_osd_subs ? mpctx->term_osd_subs : "", text) == 0) return; |