diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-02-16 23:29:55 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2006-02-16 23:29:55 +0100 |
commit | 524bf4cc08d65dec6123e1d85f51edb89fae9d02 (patch) | |
tree | 84569bcc527092c1a0dc9d01bcfb37b10f2e8abd /linux | |
parent | ba6fd62e300890669a26aa75573c7ca48cd7ff3b (diff) | |
download | mediapointer-dvb-s2-524bf4cc08d65dec6123e1d85f51edb89fae9d02.tar.gz mediapointer-dvb-s2-524bf4cc08d65dec6123e1d85f51edb89fae9d02.tar.bz2 |
Fix maximum for the saturation and contrast controls.
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/cx25840/cx25840-core.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/video/saa7115.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/cx25840/cx25840-core.c b/linux/drivers/media/video/cx25840/cx25840-core.c index c5c419f34..d7d19bdc3 100644 --- a/linux/drivers/media/video/cx25840/cx25840-core.c +++ b/linux/drivers/media/video/cx25840/cx25840-core.c @@ -578,7 +578,7 @@ static struct v4l2_queryctrl cx25840_qctrl[] = { .type = V4L2_CTRL_TYPE_INTEGER, .name = "Contrast", .minimum = 0, - .maximum = 255, + .maximum = 127, .step = 1, .default_value = 64, .flags = 0, @@ -587,7 +587,7 @@ static struct v4l2_queryctrl cx25840_qctrl[] = { .type = V4L2_CTRL_TYPE_INTEGER, .name = "Saturation", .minimum = 0, - .maximum = 255, + .maximum = 127, .step = 1, .default_value = 64, .flags = 0, diff --git a/linux/drivers/media/video/saa7115.c b/linux/drivers/media/video/saa7115.c index 22027af75..aa3600ad9 100644 --- a/linux/drivers/media/video/saa7115.c +++ b/linux/drivers/media/video/saa7115.c @@ -1038,7 +1038,7 @@ static struct v4l2_queryctrl saa7115_qctrl[] = { .type = V4L2_CTRL_TYPE_INTEGER, .name = "Contrast", .minimum = 0, - .maximum = 255, + .maximum = 127, .step = 1, .default_value = 64, .flags = 0, @@ -1047,7 +1047,7 @@ static struct v4l2_queryctrl saa7115_qctrl[] = { .type = V4L2_CTRL_TYPE_INTEGER, .name = "Saturation", .minimum = 0, - .maximum = 255, + .maximum = 127, .step = 1, .default_value = 64, .flags = 0, |