opencv/modules/videoio
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
..
doc Large update of videoio doc and samples following mshabunin comments 2016-09-09 18:46:11 +02:00
include/opencv2 Update documentation and samples 2018-08-17 14:21:29 +03:00
misc videoio: add routines to query information about backends API 2018-07-19 17:27:37 +03:00
perf read in gray scale mode when writing a gray scale video 2018-02-19 18:33:05 +09:00
src cap_v4l: Fix private control enumeration end condition 2018-09-04 11:33:08 +03:00
test videoio: add routines to query information about backends API 2018-07-19 17:27:37 +03:00
CMakeLists.txt cmake: support find_package(FFMPEG) 2018-05-31 18:27:01 +03:00