diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h
index 4b24dd841dd64b64..890678360ee87fd7 100644
--- a/include/libcamera/stream.h
+++ b/include/libcamera/stream.h
@@ -17,6 +17,8 @@ struct StreamConfiguration {
 	unsigned int width;
 	unsigned int height;
 	unsigned int pixelFormat;
+
+	unsigned int bufferCount;
 };
 
 } /* namespace libcamera */
diff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp
index b0b4efe39c81e747..5ebdce9acdbd3560 100644
--- a/src/libcamera/stream.cpp
+++ b/src/libcamera/stream.cpp
@@ -73,4 +73,9 @@ namespace libcamera {
  * format described in V4L2 using the V4L2_PIX_FMT_* definitions.
  */
 
+/**
+ * \var StreamConfiguration::bufferCount
+ * \brief Number of buffers to allocate for the stream
+ */
+
 } /* namespace libcamera */
