From 3d9ac1087b3d6aa9cf3758c088414d7cf518c395 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Mon, 10 Jul 2023 09:20:43 +0100 Subject: [PATCH] core: Redefine libcamera::StreamRole libcamera::StreamRole has now been removed from libcamera. Redefine it local to libcamera_apps as a std::vector. Signed-off-by: Naushir Patuck --- core/libcamera_app.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/libcamera_app.hpp b/core/libcamera_app.hpp index 965fb391..94da5e90 100644 --- a/core/libcamera_app.hpp +++ b/core/libcamera_app.hpp @@ -53,7 +53,7 @@ class LibcameraApp using CameraConfiguration = libcamera::CameraConfiguration; using FrameBufferAllocator = libcamera::FrameBufferAllocator; using StreamRole = libcamera::StreamRole; - using StreamRoles = libcamera::StreamRoles; + using StreamRoles = std::vector; using PixelFormat = libcamera::PixelFormat; using StreamConfiguration = libcamera::StreamConfiguration; using BufferMap = Request::BufferMap;