summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-02 19:37:46 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-02 19:37:46 +0000
commit799e438d533d3c84dfc69d0f2a1ffe8f9ff93ea8 (patch)
treee6c659b9e2b2c0f6adeb97cff6f71fcc70218c4d /mplayer.c
parent6151f331fbb5b704ae72ea6b7916d1838f68724c (diff)
downloadmpv-799e438d533d3c84dfc69d0f2a1ffe8f9ff93ea8.tar.bz2
mpv-799e438d533d3c84dfc69d0f2a1ffe8f9ff93ea8.tar.xz
fix volume
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1845 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index b891f13285..023573f3dd 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1594,6 +1594,9 @@ if(auto_quality>0){
case '/': {
float mixer_l, mixer_r;
mixer_getvolume( &mixer_l,&mixer_r );
+ #ifdef HAVE_NEW_GUI
+ if ( use_gui ) mplShMem->Volume=( mixer_l + mixer_r ) / 2;
+ #endif
if(c=='*' || c=='0'){
if ( ++mixer_l > 100 ) mixer_l = 100;
if ( ++mixer_r > 100 ) mixer_r = 100;