diff options
author | Han-Lin Chen <hanlinchen@chromium.org> | 2022-04-19 20:42:20 +0800 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-04-22 00:38:54 +0300 |
commit | dc7fc90573b99bbc6d21a25a741891471d68f274 (patch) | |
tree | 1e1973f8523ad256eb19b35a1e776b9594425943 | |
parent | c730dc74795d6a603ac9f725c081ff07ed70ee35 (diff) |
libcamera: geometry: Correct the string representation of Rectangle
Change the string representation of class Rectangle from
"(top x left)/width x height" to "(top, left)/width x height".
Signed-off-by: Han-Lin Chen <hanlinchen@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | src/libcamera/geometry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/geometry.cpp b/src/libcamera/geometry.cpp index 3b366af2..e50b46c5 100644 --- a/src/libcamera/geometry.cpp +++ b/src/libcamera/geometry.cpp @@ -841,7 +841,7 @@ bool operator==(const Rectangle &lhs, const Rectangle &rhs) */ std::ostream &operator<<(std::ostream &out, const Rectangle &r) { - out << "(" << r.x << "x" << r.y << ")/" << r.width << "x" << r.height; + out << "(" << r.x << ", " << r.y << ")/" << r.width << "x" << r.height; return out; } |