diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-14 11:50:19 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:51 -0400 |
commit | 4a5aa62bd5e27d90ceb11bc256de659d5c99e0dc (patch) | |
tree | ab85b4f30587b9e61e7ccb88e99645168e5d94e0 /drivers/media/video/vivi.c | |
parent | c41ee24bc44d5ce813da1fcf8a0f018a825cfa84 (diff) |
V4L/DVB (10647): vivi: add slider flag to controls.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/vivi.c')
-rw-r--r-- | drivers/media/video/vivi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index 5b4786b07ad0..616eb1a8dbee 100644 --- a/drivers/media/video/vivi.c +++ b/drivers/media/video/vivi.c | |||
@@ -84,7 +84,7 @@ static struct v4l2_queryctrl vivi_qctrl[] = { | |||
84 | .maximum = 65535, | 84 | .maximum = 65535, |
85 | .step = 65535/100, | 85 | .step = 65535/100, |
86 | .default_value = 65535, | 86 | .default_value = 65535, |
87 | .flags = 0, | 87 | .flags = V4L2_CTRL_FLAG_SLIDER, |
88 | .type = V4L2_CTRL_TYPE_INTEGER, | 88 | .type = V4L2_CTRL_TYPE_INTEGER, |
89 | }, { | 89 | }, { |
90 | .id = V4L2_CID_BRIGHTNESS, | 90 | .id = V4L2_CID_BRIGHTNESS, |
@@ -94,7 +94,7 @@ static struct v4l2_queryctrl vivi_qctrl[] = { | |||
94 | .maximum = 255, | 94 | .maximum = 255, |
95 | .step = 1, | 95 | .step = 1, |
96 | .default_value = 127, | 96 | .default_value = 127, |
97 | .flags = 0, | 97 | .flags = V4L2_CTRL_FLAG_SLIDER, |
98 | }, { | 98 | }, { |
99 | .id = V4L2_CID_CONTRAST, | 99 | .id = V4L2_CID_CONTRAST, |
100 | .type = V4L2_CTRL_TYPE_INTEGER, | 100 | .type = V4L2_CTRL_TYPE_INTEGER, |
@@ -103,7 +103,7 @@ static struct v4l2_queryctrl vivi_qctrl[] = { | |||
103 | .maximum = 255, | 103 | .maximum = 255, |
104 | .step = 0x1, | 104 | .step = 0x1, |
105 | .default_value = 0x10, | 105 | .default_value = 0x10, |
106 | .flags = 0, | 106 | .flags = V4L2_CTRL_FLAG_SLIDER, |
107 | }, { | 107 | }, { |
108 | .id = V4L2_CID_SATURATION, | 108 | .id = V4L2_CID_SATURATION, |
109 | .type = V4L2_CTRL_TYPE_INTEGER, | 109 | .type = V4L2_CTRL_TYPE_INTEGER, |
@@ -112,7 +112,7 @@ static struct v4l2_queryctrl vivi_qctrl[] = { | |||
112 | .maximum = 255, | 112 | .maximum = 255, |
113 | .step = 0x1, | 113 | .step = 0x1, |
114 | .default_value = 127, | 114 | .default_value = 127, |
115 | .flags = 0, | 115 | .flags = V4L2_CTRL_FLAG_SLIDER, |
116 | }, { | 116 | }, { |
117 | .id = V4L2_CID_HUE, | 117 | .id = V4L2_CID_HUE, |
118 | .type = V4L2_CTRL_TYPE_INTEGER, | 118 | .type = V4L2_CTRL_TYPE_INTEGER, |
@@ -121,7 +121,7 @@ static struct v4l2_queryctrl vivi_qctrl[] = { | |||
121 | .maximum = 127, | 121 | .maximum = 127, |
122 | .step = 0x1, | 122 | .step = 0x1, |
123 | .default_value = 0, | 123 | .default_value = 0, |
124 | .flags = 0, | 124 | .flags = V4L2_CTRL_FLAG_SLIDER, |
125 | } | 125 | } |
126 | }; | 126 | }; |
127 | 127 | ||