1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

videio: Fix new frame size appling in v4l.

This commit is contained in:
Vasiliy Sorokin
2018-12-19 15:39:03 -08:00
parent 3d5cebb3ac
commit b6a72826dd
+1 -1
View File
@@ -1757,7 +1757,7 @@ bool CvCaptureCAM_V4L::icvSetFrameSize(int _width, int _height)
if (_width > 0)
width_set = _width;
if (height > 0)
if (_height > 0)
height_set = _height;
/* two subsequent calls setting WIDTH and HEIGHT will change