Chromium Code Reviews
DescriptionImageCapture v4l2: retry reading capabilities
The bug illustrates a case in which an ioctl() for reading the photo
capabilities right after opening the device/starting streaming fails,
but work after retrying a few times. (In my repros, the first two
control readings fail, successively working).
This CL reuses the code in ResetUserAndCameraControlsToDefault()
to retry an ioclt a few times for RetrieveUserControlRange().
BUG=670262
Committed: https://crrev.com/047c7091b7159c5ad0037d0e35d74e1e4739e080
Cr-Commit-Position: refs/heads/master@{#439223}
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|
|||||||||||||||||||