diff options
-rw-r--r-- | src/libcamera/v4l2_device.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libcamera/v4l2_device.cpp b/src/libcamera/v4l2_device.cpp index b47ba448..68f2d44d 100644 --- a/src/libcamera/v4l2_device.cpp +++ b/src/libcamera/v4l2_device.cpp @@ -8,11 +8,13 @@ #include "v4l2_device.h" #include <fcntl.h> +#include <iomanip> #include <string.h> #include <sys/ioctl.h> #include <unistd.h> #include "log.h" +#include "utils.h" #include "v4l2_controls.h" /** @@ -371,8 +373,9 @@ void V4L2Device::listControls() break; /* \todo Support compound controls. */ default: - LOG(V4L2, Debug) << "Control type '" << ctrl.type - << "' not supported"; + LOG(V4L2, Debug) + << "Control " << utils::hex(ctrl.id) + << " has unsupported type " << ctrl.type; continue; } |