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

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Oct 23 00:41:52 CEST 2023


- Fix typos in orientation strings

Signed-off-by: Laurent Pinchart <laurent.pinchart 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