summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcamera/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/camera.cpp b/src/libcamera/camera.cpp
index e3144c5b..8ee9cc08 100644
--- a/src/libcamera/camera.cpp
+++ b/src/libcamera/camera.cpp
@@ -405,7 +405,7 @@ int Camera::configureStreams(std::map<Stream *, StreamConfiguration> &config)
if (disconnected_)
return -ENODEV;
- if (!stateBetween(CameraAvailable, CameraConfigured))
+ if (!stateBetween(CameraAcquired, CameraConfigured))
return -EACCES;
if (!config.size()) {