From 8456d096d241d71302d77f5506726a9af2efd77e Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 20 Dec 2018 16:28:12 +0300 Subject: [PATCH] videoio(v4l2): fix build due missing V4L2_CID_ISO_SENSITIVITY --- modules/videoio/src/cap_v4l.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/videoio/src/cap_v4l.cpp b/modules/videoio/src/cap_v4l.cpp index db8569359e..661e4b3210 100644 --- a/modules/videoio/src/cap_v4l.cpp +++ b/modules/videoio/src/cap_v4l.cpp @@ -237,6 +237,11 @@ make & enjoy! #include #endif +// https://github.com/opencv/opencv/issues/13335 +#ifndef V4L2_CID_ISO_SENSITIVITY +#define V4L2_CID_ISO_SENSITIVITY (V4L2_CID_CAMERA_CLASS_BASE+23) +#endif + /* Defaults - If your board can do better, set it here. Set for the most common type inputs. */ #define DEFAULT_V4L_WIDTH 640 #define DEFAULT_V4L_HEIGHT 480 -- GitLab