• Todor Tomov's avatar
    cap_v4l: Fix private control enumeration end condition · 9988e1b6
    Todor Tomov authored
    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: 's avatarTodor Tomov <todor.tomov@linaro.org>
    9988e1b6
Name
Last commit
Last update
..
calib3d Loading commit data...
core Loading commit data...
cudaarithm Loading commit data...
cudabgsegm Loading commit data...
cudacodec Loading commit data...
cudafeatures2d Loading commit data...
cudafilters Loading commit data...
cudaimgproc Loading commit data...
cudalegacy Loading commit data...
cudaobjdetect Loading commit data...
cudaoptflow Loading commit data...
cudastereo Loading commit data...
cudawarping Loading commit data...
cudev Loading commit data...
dnn Loading commit data...
features2d Loading commit data...
flann Loading commit data...
highgui Loading commit data...
imgcodecs Loading commit data...
imgproc Loading commit data...
java Loading commit data...
js Loading commit data...
ml Loading commit data...
objdetect Loading commit data...
photo Loading commit data...
python Loading commit data...
shape Loading commit data...
stitching Loading commit data...
superres Loading commit data...
ts Loading commit data...
video Loading commit data...
videoio Loading commit data...
videostab Loading commit data...
viz Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...