[libcamera-devel] [PATCH 1/3] libcamera: ipu3: Improve error on multiple raw streams request
Niklas Söderlund
niklas.soderlund at ragnatech.se
Sun Jun 28 20:10:26 CEST 2020
Hi Jacopo,
Thanks for your work.
On 2020-06-28 17:55:37 +0200, Jacopo Mondi wrote:
> Improve the error message emitted when multiple raw streams are
> requested.
>
> Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
> ---
> src/libcamera/pipeline/ipu3/ipu3.cpp | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
> index f2aa0caede7f..ef57196c32da 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;
> }
>
> --
> 2.27.0
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
--
Regards,
Niklas Söderlund
More information about the libcamera-devel
mailing list