[PATCH 0/1] Fix AeEnable when camera starts

David Plowman david.plowman at raspberrypi.com
Wed May 21 14:53:26 CEST 2025


Hi everyone

Not a big patch, but also not a lovely one, so folks might have some
opinions on how it should look.

The problem is that we patch up control lists for the "AeEnable"
control when we queue a request, but not when the camera starts -
leading to different behaviour depending on when you send your
controls.

This patch fixes that, by factoring the patch-up code into a separate
method, and then, in Camera::start(), we copy the control list because
the one passed in is const.

Anyway, opinions on how this should look gratefully received, and I'll
do another version once things seem clear.

Thanks!
David

David Plowman (1):
  libcamera: camera: Fix up the AeEnable control during Camera::start()

 include/libcamera/camera.h |  2 ++
 src/libcamera/camera.cpp   | 57 +++++++++++++++++++++++++-------------
 2 files changed, 40 insertions(+), 19 deletions(-)

-- 
2.39.5



More information about the libcamera-devel mailing list