mirror of https://github.com/mpv-player/mpv
command: don't show message on "osd" command by default
Apparently this was not very popular. CC: @mpv-player/stable
This commit is contained in:
parent
4332105352
commit
1482a6fece
|
@ -3715,11 +3715,10 @@ int run_command(MPContext *mpctx, mp_cmd_t *cmd)
|
|||
opts->osd_level = (opts->osd_level + 1) % (MAX_OSD_LEVEL + 1);
|
||||
else
|
||||
opts->osd_level = MPCLAMP(v, 0, MAX_OSD_LEVEL);
|
||||
if (opts->osd_level > 0) {
|
||||
if (opts->osd_level > 0 && (on_osd & MP_ON_OSD_MSG))
|
||||
set_osd_msg(mpctx, osdl, osd_duration, "OSD level: %d", opts->osd_level);
|
||||
} else {
|
||||
if (opts->osd_level == 0)
|
||||
set_osd_msg(mpctx, 0, 0, "");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue