Skip to content

Commit 2da0016

Browse files
committed
Merge pull request opencv#14446 from mshabunin:old-v4l
2 parents ffd4a27 + 683acd9 commit 2da0016

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/videoio/src/cap_v4l.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,13 @@ make & enjoy!
251251
#define V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH (V4L2_CID_MPEG_BASE+365)
252252
#endif
253253

254+
#ifndef V4L2_CID_ROTATE
255+
#define V4L2_CID_ROTATE (V4L2_CID_BASE+34)
256+
#endif
257+
#ifndef V4L2_CID_IRIS_ABSOLUTE
258+
#define V4L2_CID_IRIS_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+17)
259+
#endif
260+
254261
/* Defaults - If your board can do better, set it here. Set for the most common type inputs. */
255262
#define DEFAULT_V4L_WIDTH 640
256263
#define DEFAULT_V4L_HEIGHT 480

0 commit comments

Comments
 (0)