mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 20:20:20 +08:00
Merge pull request #13484 from va-sorokin:fix-v4l-size
This commit is contained in:
commit
32c975b533
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user