diff options
author | Umang Jain <umang.jain@ideasonboard.com> | 2022-09-25 17:53:24 +0530 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2022-09-29 11:04:14 +0530 |
commit | ed591e705c451d0ce14988ae96829a31a2ae2f9a (patch) | |
tree | fc4dfa768ca66101a5e7f11ccfb5f6e6d7cc08a1 /test/v4l2_subdevice/v4l2_subdevice_test.cpp | |
parent | aafad4d0caf04de1a94759e0957e426407be447a (diff) |
libcamera: v4l2_device: Log control id instead of errorIdx
v4l2_ext_controls.errorIdx (in the case of single failing control for
VIDIOC_*_EXT_CTRLS calls) represents the index of that control.
Since it is a single control, we can print the control id rather than
its index. This improves logging as the id can be easily co-related
with the controls while reading the log.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/v4l2_subdevice/v4l2_subdevice_test.cpp')
0 files changed, 0 insertions, 0 deletions