Skip to content

Commit

Permalink
core: Redefine libcamera::StreamRole
Browse files Browse the repository at this point in the history
libcamera::StreamRole has now been removed from libcamera. Redefine it
local to libcamera_apps as a std::vector<libcamera::StreamRole>.

Signed-off-by: Naushir Patuck <[email protected]>
  • Loading branch information
naushir committed Jul 10, 2023
1 parent d932d31 commit 3d9ac10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/libcamera_app.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<libcamera::StreamRole>;
using PixelFormat = libcamera::PixelFormat;
using StreamConfiguration = libcamera::StreamConfiguration;
using BufferMap = Request::BufferMap;
Expand Down

0 comments on commit 3d9ac10

Please sign in to comment.