summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/formats.cpp
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2021-04-27 10:21:50 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-05-25 02:54:16 +0300
commit34bee5e84ecba01e0ded5cacbc46c277c5a0edba (patch)
tree433c9a83e7907f884a88c5664716f58868e229b0 /test/v4l2_videodevice/formats.cpp
parent7de2daf653bc7fd68950245f42603b76ef2b355c (diff)
libcamera: V4L2Device: Remove the controls order assumption in updateControls()
The original updateControls() has the assumption that ctrls and v4l2Ctrls lists are in the same order. It is dependent on the caller implementation though. This changes updateControls() implementation so that it works without the assumption. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/formats.cpp')
0 files changed, 0 insertions, 0 deletions