Mercurial > mplayer.hg
changeset 36909:1548470f45f8
Don't change audio type information when muted.
The information should remain the same whether muted or not,
and symbol character 'n' means "no audio present".
author | ib |
---|---|
date | Thu, 13 Mar 2014 11:23:56 +0000 |
parents | c82c66dcb157 |
children | 11932adad7a2 |
files | gui/ui/render.c |
diffstat | 1 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/render.c Thu Mar 13 11:01:25 2014 +0000 +++ b/gui/ui/render.c Thu Mar 13 11:23:56 2014 +0000 @@ -26,8 +26,6 @@ #include "gui/skin/font.h" #include "gui/util/string.h" -#include "access_mpcontext.h" -#include "mixer.h" #include "libavutil/avstring.h" #include "osdep/timer.h" #include "stream/stream.h" @@ -43,7 +41,6 @@ char tmp[512]; unsigned int i, c; int t; - mixer_t *mixer = NULL; *trbuf = 0; @@ -169,15 +166,6 @@ break; case 'a': - - if (guiInfo.mpcontext) - mixer = mpctx_get_mixer(guiInfo.mpcontext); - - if (mixer && mixer->muted) { - av_strlcat(trbuf, "n", sizeof(trbuf)); - break; - } - switch (guiInfo.AudioChannels) { case 0: av_strlcat(trbuf, "n", sizeof(trbuf)); @@ -191,7 +179,6 @@ av_strlcat(trbuf, "t", sizeof(trbuf)); break; } - break; case 'T':