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>
This commit is contained in:
parent
4de9539f51
commit
e40fbdf855
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue