diff options
author | wm4 <wm4@nowhere> | 2013-09-21 00:08:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-21 00:08:38 +0200 |
commit | eda596a3f9e7554a29f5e13a799934c86f800bfb (patch) | |
tree | a3aed9de046bc2f77c9058060f6d86633f834787 | |
parent | 897d4b58a175bb4383b9df0ff59d908c63a372b4 (diff) | |
download | mpv-eda596a3f9e7554a29f5e13a799934c86f800bfb.tar.bz2 mpv-eda596a3f9e7554a29f5e13a799934c86f800bfb.tar.xz |
command: when changing volume while muted, show an extra message on OSD
So nobody has to wonder why everything is silent, even if they raise the
volume.
-rw-r--r-- | mpvcore/command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mpvcore/command.c b/mpvcore/command.c index fe1f794e8b..9e1e5f1c56 100644 --- a/mpvcore/command.c +++ b/mpvcore/command.c @@ -1960,7 +1960,8 @@ static struct property_osd_display { { "speed", _("Speed") }, { "clock", _("Clock") }, // audio - { "volume", _("Volume"), .osd_progbar = OSD_VOLUME }, + { "volume", _("Volume"), + .extra_msg = "${?mute==yes:(Muted)}", .osd_progbar = OSD_VOLUME }, { "mute", _("Mute") }, { "audio-delay", _("A-V delay") }, { "audio", _("Audio") }, |