summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcamera/stream.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp
index 8e782347..6df5882f 100644
--- a/src/libcamera/stream.cpp
+++ b/src/libcamera/stream.cpp
@@ -279,7 +279,7 @@ SizeRange StreamFormats::range(const PixelFormat &pixelformat) const
* handlers provide StreamFormats.
*/
StreamConfiguration::StreamConfiguration()
- : pixelFormat(0), stream_(nullptr)
+ : pixelFormat(0), stride(0), bufferCount(0), stream_(nullptr)
{
}
@@ -287,7 +287,8 @@ StreamConfiguration::StreamConfiguration()
* \brief Construct a configuration with stream formats
*/
StreamConfiguration::StreamConfiguration(const StreamFormats &formats)
- : pixelFormat(0), stream_(nullptr), formats_(formats)
+ : pixelFormat(0), stride(0), bufferCount(0), stream_(nullptr),
+ formats_(formats)
{
}