mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
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> |
||
---|---|---|
.. | ||
doc | ||
include/opencv2 | ||
misc | ||
perf | ||
src | ||
test | ||
CMakeLists.txt |