From eda596a3f9e7554a29f5e13a799934c86f800bfb Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Sep 2013 00:08:38 +0200 Subject: 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. --- mpvcore/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mpvcore') 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") }, -- cgit v1.2.3