videio: Fix new frame size appling in v4l.

pull/13484/head
Vasiliy Sorokin 6 years ago
parent 3d5cebb3ac
commit b6a72826dd
  1. 2
      modules/videoio/src/cap_v4l.cpp

@ -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…
Cancel
Save