summaryrefslogtreecommitdiff
path: root/include/libcamera/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/stream.h')
-rw-r--r--include/libcamera/stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h
index f0ae7e62..efec695a 100644
--- a/include/libcamera/stream.h
+++ b/include/libcamera/stream.h
@@ -9,6 +9,7 @@
#include <map>
#include <memory>
+#include <ostream>
#include <string>
#include <vector>
@@ -70,6 +71,8 @@ enum StreamRole {
using StreamRoles = std::vector<StreamRole>;
+std::ostream &operator<<(std::ostream &out, StreamRole role);
+
class Stream
{
public: