[MPlayer-cvslog] r37028 - trunk/gui/interface.c
ib
subversion at mplayerhq.hu
Fri Mar 21 15:33:51 CET 2014
Author: ib
Date: Fri Mar 21 15:33:50 2014
New Revision: 37028
Log:
Remove pointless btnModify() calls.
These will be performed in the windows' draw handler
prior to rendering anyway.
Modified:
trunk/gui/interface.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Fri Mar 21 15:29:40 2014 (r37027)
+++ trunk/gui/interface.c Fri Mar 21 15:33:50 2014 (r37028)
@@ -746,7 +746,6 @@ int gui(int what, void *data)
mixer_getvolume(mixer, &l, &r);
guiInfo.Volume = FFMAX(l, r);
- btnModify(evSetVolume, guiInfo.Volume);
mixer_getbalance(mixer, &b);
guiInfo.Balance = (b + 1.0) * 50.0; // transform -1..1 to 0..100
@@ -755,7 +754,6 @@ int gui(int what, void *data)
l = guiInfo.Volume * (100.0 - guiInfo.Balance) / 50.0;
r = guiInfo.Volume * guiInfo.Balance / 50.0;
mixer_setvolume(mixer, FFMIN(l, guiInfo.Volume), FFMIN(r, guiInfo.Volume));
- btnModify(evSetBalance, guiInfo.Balance);
last_balance = guiInfo.Balance;
}
}
More information about the MPlayer-cvslog
mailing list