[libcamera-devel,v6,14/12] fixup! libcamera: camera: Introduce Orientation
diff mbox series

Message ID 20231022224159.30298-2-laurent.pinchart@ideasonboard.com
State Accepted
Headers show
Series
  • libcamera: Replace CameraConfiguration::transform
Related show

Commit Message

Laurent Pinchart Oct. 22, 2023, 10:41 p.m. UTC
- Fix typos in orientation strings

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 src/libcamera/orientation.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jacopo Mondi Oct. 23, 2023, 8:44 a.m. UTC | #1
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@ideasonboard.com>

Reviewed-by: Jacopo Mondi <jacopo.mondi@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
>

Patch
diff mbox series

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",
 	};