summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-17 22:26:04 +0100
committerwm4 <wm4@nowhere>2014-01-17 22:26:04 +0100
commita0a2ea8713bcd1b0ed35eaaaa93625e973480563 (patch)
treef0687c50776b5cc83edd41a1f23bbd5949c7f9f7 /player/command.c
parentc47c59f2df6e3a394c0484d894136df8ebe10297 (diff)
downloadmpv-a0a2ea8713bcd1b0ed35eaaaa93625e973480563.tar.bz2
mpv-a0a2ea8713bcd1b0ed35eaaaa93625e973480563.tar.xz
player: remove OSD stack
If certain OSD messages were displayed at the same time, the hidden messages were put on the stack, and displayed again once the higher priority messages disappeared. The idea was probably that lower priority messages could not hide higher priority ones, and also that the lower messages did not get lost. But in practice, this gives confusing results with OSD messages randomly reappearing for a brief time. Remove it.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/player/command.c b/player/command.c
index adcf9daa17..646b96864a 100644
--- a/player/command.c
+++ b/player/command.c
@@ -2790,8 +2790,6 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd)
if (msg_osd && opts->osd_level <= 1)
set_osd_msg(mpctx, OSD_MSG_OSD_STATUS, 0, osd_duration,
"OSD: %s", opts->osd_level ? "yes" : "no");
- else
- rm_osd_msg(mpctx, OSD_MSG_OSD_STATUS);
break;
}