Fix for building with old V4L

pull/15188/head
Maksim Shabunin 6 years ago
parent 977d2c4330
commit b231e91d87
  1. 4
      modules/videoio/src/cap_v4l.cpp

@ -258,6 +258,10 @@ make & enjoy!
#define V4L2_CID_IRIS_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+17)
#endif
#ifndef V4L2_PIX_FMT_Y10
#define V4L2_PIX_FMT_Y10 v4l2_fourcc('Y', '1', '0', ' ')
#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

Loading…
Cancel
Save