videoio(v4l2): fix build due missing V4L2_CID_ISO_SENSITIVITY

This commit is contained in:
Alexander Alekhin 2018-12-20 16:28:12 +03:00
parent 3d5cebb3ac
commit 8456d096d2

View File

@ -237,6 +237,11 @@ make & enjoy!
#include <sys/videoio.h>
#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