diff options
Diffstat (limited to 'src/apps/common/stream_options.h')
-rw-r--r-- | src/apps/common/stream_options.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/apps/common/stream_options.h b/src/apps/common/stream_options.h index 35e4e7c0..fe298c84 100644 --- a/src/apps/common/stream_options.h +++ b/src/apps/common/stream_options.h @@ -7,6 +7,8 @@ #pragma once +#include <optional> + #include <libcamera/camera.h> #include "options.h" @@ -23,6 +25,5 @@ public: const OptionValue &values); private: - static bool parseRole(libcamera::StreamRole *role, - const KeyValueParser::Options &options); + static std::optional<libcamera::StreamRole> parseRole(const KeyValueParser::Options &options); }; |