[MPlayer-users] patch to fix xv brightness control using number keys

pl p_l at gmx.fr
Tue Mar 5 09:58:01 CET 2002


On Tue, Mar 05, 2002 at 12:42:58AM -0500, Nilmoni Deb wrote:

> 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;

Applied, thanks.

Note: mplayer-users is not the good list to send patches to (read
DOCS/tech/patches.txt) as they may be not seen by potential commiters.

-- 
Best regards,
  pl




More information about the MPlayer-users mailing list