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.
This commit is contained in:
wm4 2013-09-21 00:08:38 +02:00
parent 897d4b58a1
commit eda596a3f9
1 changed files with 2 additions and 1 deletions

View File

@ -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") },