Commit 32c975b5 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #13484 from va-sorokin:fix-v4l-size

parents 3d5cebb3 b6a72826
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment