Mercurial > mplayer.hg
changeset 3368:39ad81ffebf9
Minor fixes
author | nick |
---|---|
date | Fri, 07 Dec 2001 10:48:17 +0000 |
parents | a99b6d3fae64 |
children | 13c202356a41 |
files | drivers/radeon/radeon_vid.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/drivers/radeon/radeon_vid.c Fri Dec 07 10:46:07 2001 +0000 +++ b/drivers/radeon/radeon_vid.c Fri Dec 07 10:48:17 2001 +0000 @@ -934,10 +934,13 @@ { long brightness; brightness=simple_strtol(&buf[strlen(PARAM_BRIGHTNESS)],NULL,10); - if(brightness >= -64 && brightness <= 63) besr.brightness = brightness; + if(brightness >= -64 && brightness <= 63) + { + besr.brightness = brightness; OUTREG(OV0_COLOUR_CNTL, (brightness & 0x7f) | (besr.saturation << 8) | (besr.saturation << 16)); + } } else if(memcmp(buf,PARAM_SATURATION,min(count,strlen(PARAM_SATURATION))) == 0)