summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-05-18 16:13:15 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-18 17:52:28 +0300
commite40fbdf855ce9790191fe7de8d3e7c20b33b79cf (patch)
treebf04580f095baa218d431ee69586fee0f2c59eaf
parent4de9539f514f297c5c244308b95ee022943ee90a (diff)
py: pymain: Fix indent
Fix two minor mis-indents. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--src/py/libcamera/pymain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/py/libcamera/pymain.cpp b/src/py/libcamera/pymain.cpp
index fb89975c..af22205e 100644
--- a/src/py/libcamera/pymain.cpp
+++ b/src/py/libcamera/pymain.cpp
@@ -394,7 +394,7 @@ PYBIND11_MODULE(_libcamera, m)
pyStreamConfiguration
.def("__str__", &StreamConfiguration::toString)
.def_property_readonly("stream", &StreamConfiguration::stream,
- py::return_value_policy::reference_internal)
+ py::return_value_policy::reference_internal)
.def_property(
"size",
[](StreamConfiguration &self) {
@@ -416,7 +416,7 @@ PYBIND11_MODULE(_libcamera, m)
.def_readwrite("frame_size", &StreamConfiguration::frameSize)
.def_readwrite("buffer_count", &StreamConfiguration::bufferCount)
.def_property_readonly("formats", &StreamConfiguration::formats,
- py::return_value_policy::reference_internal)
+ py::return_value_policy::reference_internal)
.def_readwrite("color_space", &StreamConfiguration::colorSpace);
pyStreamFormats