summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/stream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h
index 29a8030d..b1441f8e 100644
--- a/include/libcamera/stream.h
+++ b/include/libcamera/stream.h
@@ -28,9 +28,9 @@ public:
StreamFormats(const std::map<PixelFormat, std::vector<SizeRange>> &formats);
std::vector<PixelFormat> pixelformats() const;
- std::vector<Size> sizes(PixelFormat pixelformat) const;
+ std::vector<Size> sizes(const PixelFormat &pixelformat) const;
- SizeRange range(PixelFormat pixelformat) const;
+ SizeRange range(const PixelFormat &pixelformat) const;
private:
std::map<PixelFormat, std::vector<SizeRange>> formats_;