From e43e93c236badd22e2840b8907312f4683169888 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Sat, 14 Oct 2023 18:21:24 +0200 Subject: [PATCH] libcamera: disable SceneFlicker in bookworm --- device/libcamera/options.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device/libcamera/options.cc b/device/libcamera/options.cc index 1d76509..33ed83d 100644 --- a/device/libcamera/options.cc +++ b/device/libcamera/options.cc @@ -56,7 +56,9 @@ static std::map libcamera_control_ids = LIBCAMERA_DRAFT_CONTROL(AeState), LIBCAMERA_DRAFT_CONTROL(AwbState), LIBCAMERA_DRAFT_CONTROL(LensShadingMapMode), +#if LIBCAMERA_VERSION_MAJOR == 0 && LIBCAMERA_VERSION_MINOR < 1 // Support RasPI bullseye LIBCAMERA_DRAFT_CONTROL(SceneFlicker), +#endif LIBCAMERA_DRAFT_CONTROL(TestPatternMode) };