summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-06-28 16:28:50 +0200
committerJacopo Mondi <jacopo@jmondi.org>2020-06-29 09:33:49 +0200
commit83d37d54666f6114527ad503ea5e80d5b9388f11 (patch)
tree561de5ae6c5c0122b3eb593ab5de6d8c192b5667
parentd130c55073231a29ba9590dd3f13094abc7c5cad (diff)
libcamera: ipu3: Improve error on multiple raw streams request
Improve the error message emitted when multiple raw streams are requested. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
-rw-r--r--src/libcamera/pipeline/ipu3/ipu3.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
index f2aa0cae..ef57196c 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -341,8 +341,7 @@ CameraConfiguration *PipelineHandlerIPU3::generateConfiguration(Camera *camera,
case StreamRole::StillCaptureRaw: {
if (streams.find(&data->rawStream_) == streams.end()) {
LOG(IPU3, Error)
- << "No stream available for requested role "
- << role;
+ << "Multiple raw streams are not supported";
break;
}