Skip to content

fix: fix runtime error for libcamera0.7#205

Merged
ayufan merged 2 commits intoayufan:mainfrom
mryel00:fix/libcamera0.7
Mar 2, 2026
Merged

fix: fix runtime error for libcamera0.7#205
ayufan merged 2 commits intoayufan:mainfrom
mryel00:fix/libcamera0.7

Conversation

@mryel00
Copy link
Contributor

@mryel00 mryel00 commented Feb 12, 2026

Fixes #206

In libcamera0.7 they made some changes, including being stricter on how to modify Request::controls().
raspberrypi/libcamera@310cd8b

This PR fixes the error by using the merge operation, instead of an assignment overwriting the original Request::cotrols().

Signed-off-by: Patrick Gehrsitz <mryel00.github@gmail.com>
@mryel00 mryel00 changed the title fix: fix runtime error when overwriting Request::controls() fix: fix runtime error for libcamera0.7 Feb 26, 2026
Signed-off-by: Patrick Gehrsitz <mryel00.github@gmail.com>
@ayufan ayufan merged commit b947d6f into ayufan:main Mar 2, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

libcamera0.7 error "Overwriting Request::controls() is not allowed"

2 participants