Open Source Computer Vision Library
Go to file
Todor Tomov 9988e1b6ee cap_v4l: Fix private control enumeration end condition
Currently the private control enumeration will be stopped when QUERYCTRL
returns -EINVAL only. It is possible however that other errors occur.

One particular case is when the v4l2 device doesn't support any controls
and doesn't implement the QUERYCTRL ioctl. In that case the v4l2
framework returns -ENOTTY. In that case the current control enumeration
will go in an endless loop.

To fix this change the control enumeration stop condition. If any errors
occur, end the control enumeration.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
2018-09-04 11:33:08 +03:00
.github migration: github.com/opencv/opencv 2016-07-12 12:51:12 +03:00
3rdparty build: eliminate GCC8 warnings 2018-07-16 17:24:12 +03:00
apps apps: fix interactive calibration 2018-08-13 11:51:08 +02:00
cmake cleanup: IPP Async (IPP_A) 2018-08-30 18:53:07 +03:00
data Some mist. typo fixes 2018-02-07 06:59:15 -05:00
doc doc: add new tutorial motion deblur filter (#12215) 2018-08-31 17:41:22 +03:00
include add missing DNN header to opencv2/opencv.hpp 2018-02-15 15:59:14 +01:00
modules cap_v4l: Fix private control enumeration end condition 2018-09-04 11:33:08 +03:00
platforms OpenCV 3.4.3 2018-08-28 15:58:21 +03:00
samples Import SSDs from TensorFlow by training config (#12188) 2018-09-03 17:08:40 +03:00
.gitattributes cmake: generate and install ffmpeg-download.ps1 2018-06-09 13:19:48 +03:00
.gitignore git: .gitignore update 2017-11-07 17:24:48 +03:00
CMakeLists.txt cmake: WITH_GPHOTO2=OFF by default 2018-08-23 19:48:23 +00:00
CONTRIBUTING.md migration: github.com/opencv/opencv 2016-07-12 12:51:12 +03:00
LICENSE copyright: 2018 2018-01-16 13:55:42 +03:00
README.md Improve README (#9243) 2017-09-13 17:58:34 +03:00

OpenCV: Open Source Computer Vision Library

Resources

Contributing

Please read the contribution guidelines before starting work on a pull request.

Summary of the guidelines:

  • One pull request per issue;
  • Choose the right base branch;
  • Include tests and documentation;
  • Clean up "oops" commits before submitting;
  • Follow the coding style guide.