[libcamera-devel] [PATCH v6 14/12] fixup! libcamera: camera: Introduce Orientation

Jacopo Mondi jacopo.mondi at ideasonboard.com
Mon Oct 23 10:44:29 CEST 2023


On Mon, Oct 23, 2023 at 01:41:52AM +0300, Laurent Pinchart via libcamera-devel wrote:
> - Fix typos in orientation strings

Thanks, this has escaped my sed scripts used for v5->v6

>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

Reviewed-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>

> ---
>  src/libcamera/orientation.cpp | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/libcamera/orientation.cpp b/src/libcamera/orientation.cpp
> index a6363df30861..bd17dea948a9 100644
> --- a/src/libcamera/orientation.cpp
> +++ b/src/libcamera/orientation.cpp
> @@ -102,8 +102,8 @@ std::ostream &operator<<(std::ostream &out, const Orientation &orientation)
>  {
>  	constexpr std::array<const char *, 9> orientationNames = {
>  		"", /* Orientation starts counting from 1. */
> -		"Rotate0", "rotate0Flip",
> -		"Rotate180", "rotate180Flip",
> +		"Rotate0", "Rotate0Mirror",
> +		"Rotate180", "Rotate180Mirror",
>  		"Rotate90Mirror", "Rotate270",
>  		"Rotate270Mirror", "Rotate90",
>  	};
> --
> Regards,
>
> Laurent Pinchart
>


More information about the libcamera-devel mailing list