diff options
Diffstat (limited to 'player/osd.c')
-rw-r--r-- | player/osd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/player/osd.c b/player/osd.c index 605c4b6757..eccaf742e4 100644 --- a/player/osd.c +++ b/player/osd.c @@ -274,6 +274,8 @@ static bool set_osd_msg_va(struct MPContext *mpctx, int level, int time, mpctx->osd_msg_next_duration = time / 1000.0; mpctx->osd_force_update = true; mpctx->sleeptime = 0; + if (mpctx->osd_msg_next_duration <= 0) + mpctx->osd_msg_visible = mp_time_sec(); return true; } |