[MPlayer-cvslog] r37067 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Tue Mar 25 14:01:15 CET 2014


Author: ib
Date: Tue Mar 25 14:01:15 2014
New Revision: 37067

Log:
Disable balance control for AudioPassthrough as well.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Tue Mar 25 13:48:55 2014	(r37066)
+++ trunk/gui/interface.c	Tue Mar 25 14:01:15 2014	(r37067)
@@ -709,7 +709,7 @@ int gui(int what, void *data)
 
         guiInfo.AudioChannels = sh_audio ? sh_audio->channels : 0;
 
-        if (guiInfo.AudioChannels < 2)
+        if (guiInfo.AudioChannels < 2 || guiInfo.AudioPassthrough)
             btnSet(evSetBalance, btnDisabled);
 
         if (sh_audio && !guiInfo.sh_video) {


More information about the MPlayer-cvslog mailing list