summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/controls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/v4l2_videodevice/controls.cpp')
-rw-r--r--test/v4l2_videodevice/controls.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/v4l2_videodevice/controls.cpp b/test/v4l2_videodevice/controls.cpp
index 1b71bf06..478de370 100644
--- a/test/v4l2_videodevice/controls.cpp
+++ b/test/v4l2_videodevice/controls.cpp
@@ -41,9 +41,9 @@ protected:
return TestFail;
}
- const ControlRange &brightness = infoMap.find(V4L2_CID_BRIGHTNESS)->second;
- const ControlRange &contrast = infoMap.find(V4L2_CID_CONTRAST)->second;
- const ControlRange &saturation = infoMap.find(V4L2_CID_SATURATION)->second;
+ const ControlInfo &brightness = infoMap.find(V4L2_CID_BRIGHTNESS)->second;
+ const ControlInfo &contrast = infoMap.find(V4L2_CID_CONTRAST)->second;
+ const ControlInfo &saturation = infoMap.find(V4L2_CID_SATURATION)->second;
/* Test getting controls. */
ControlList ctrls(infoMap);