summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorRicardo Cerqueira <v4l@cerqueira.org>2006-06-18 04:26:49 +0100
committerRicardo Cerqueira <v4l@cerqueira.org>2006-06-18 04:26:49 +0100
commit6faaa169cbda16eb4f8ac681d40439e0e9dee8d6 (patch)
treefca9cc4381594ba7ed224b0000b6c75a02c2b323 /linux/drivers/media/video
parentc1752e9f9cc41b972abd82c12984361036b740dd (diff)
downloadmediapointer-dvb-s2-6faaa169cbda16eb4f8ac681d40439e0e9dee8d6.tar.gz
mediapointer-dvb-s2-6faaa169cbda16eb4f8ac681d40439e0e9dee8d6.tar.bz2
Use saner defaults for cx88 contrast
From: Ricardo Cerqueira <v4l@cerqueira.org> The default value for contrast in cx88 cards was 25%; this worked OK, except when applications enforced their own defaults (like MythTV), and it was different from other defaults (Hue/Brightness/Saturation) that used 50%. The value for contrast has been offset so the default is now 50% (as with other controls), giving the same result as the previous 25% setting. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/cx88/cx88-video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c
index 9c2f0dd39..59a7e096d 100644
--- a/linux/drivers/media/video/cx88/cx88-video.c
+++ b/linux/drivers/media/video/cx88/cx88-video.c
@@ -266,10 +266,10 @@ static struct cx88_ctrl cx8800_ctls[] = {
.minimum = 0,
.maximum = 0xff,
.step = 1,
- .default_value = 0x3f,
+ .default_value = 0x7f,
.type = V4L2_CTRL_TYPE_INTEGER,
},
- .off = 0,
+ .off = 64,
.reg = MO_CONTR_BRIGHT,
.mask = 0xff00,
.shift = 8,