mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-12 23:09:45 +03:00
libcamera: pipeline: uvcvideo: Silently ignore AeEnable
The `AeEnable` control is handled in `Camera::queueRequest()` but it
still reaches the pipeline handler because a single element cannot be
removed from a `ControlList`. So ignore it silently.
Fixes: ffcecda4d5
("libcamera: pipeline: uvcvideo: Report new AeEnable control as available")
Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
parent
e9528306f2
commit
35ee8752b7
1 changed files with 2 additions and 0 deletions
|
@ -331,6 +331,8 @@ int PipelineHandlerUVC::processControl(const UVCCameraData *data, ControlList *c
|
||||||
cid = V4L2_CID_GAIN;
|
cid = V4L2_CID_GAIN;
|
||||||
else if (id == controls::Gamma)
|
else if (id == controls::Gamma)
|
||||||
cid = V4L2_CID_GAMMA;
|
cid = V4L2_CID_GAMMA;
|
||||||
|
else if (id == controls::AeEnable)
|
||||||
|
return 0; /* Handled in `Camera::queueRequest()`. */
|
||||||
else
|
else
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue