[MPlayer-users] patch to fix xv brightness control using number keys
Nilmoni Deb
ndeb at ece.cmu.edu
Tue Mar 5 07:00:01 CET 2002
Ok folks,
I got it at last. It must have been a careless error caused during
cut and paste. So here's the patch.
--- mplayer.c Thu Feb 28 08:49:03 2002
+++ mplayer.c.new Tue Mar 5 00:41:11 2002
@@ -2534,7 +2534,7 @@
if(abs)
v_bright = v > 100 ? 100 : v;
else {
- if ( (v_bright += v) > 100 ) v_cont = 100;
+ if ( (v_bright += v) > 100 ) v_bright = 100;
}
if(v_hw_equ_cap & VEQ_CAP_BRIGHTNESS) {
if(v_bright < -100) v_bright = -100;
thanks
- Nil
More information about the MPlayer-users
mailing list