mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Open Source Computer Vision Library
9988e1b6ee
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> |
||
---|---|---|
.github | ||
3rdparty | ||
apps | ||
cmake | ||
data | ||
doc | ||
include | ||
modules | ||
platforms | ||
samples | ||
.gitattributes | ||
.gitignore | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md |
OpenCV: Open Source Computer Vision Library
Resources
- Homepage: http://opencv.org
- Docs: http://docs.opencv.org/master/
- Q&A forum: http://answers.opencv.org
- Issue tracking: https://github.com/opencv/opencv/issues
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.