summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/pipeline/simple/converter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/pipeline/simple/converter.cpp b/src/libcamera/pipeline/simple/converter.cpp
index dc7c0463..75fb297e 100644
--- a/src/libcamera/pipeline/simple/converter.cpp
+++ b/src/libcamera/pipeline/simple/converter.cpp
@@ -271,9 +271,9 @@ SimpleConverter::strideAndFrameSize(const Size &size,
int ret = m2m_->capture()->tryFormat(&format);
if (ret < 0)
- return { 0, 0 };
+ return std::make_tuple(0, 0);
- return { format.planes[0].bpl, format.planes[0].size };
+ return std::make_tuple(format.planes[0].bpl, format.planes[0].size);
}
} /* namespace libcamera */