diff options
Diffstat (limited to 'src/qcam/main_window.h')
-rw-r--r-- | src/qcam/main_window.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h index c662a2ef..71206bc9 100644 --- a/src/qcam/main_window.h +++ b/src/qcam/main_window.h @@ -24,11 +24,11 @@ #include <libcamera/stream.h> #include "../cam/options.h" +#include "viewfinder.h" using namespace libcamera; class QAction; -class ViewFinder; enum { OptCamera = 'c', @@ -89,7 +89,7 @@ private: FrameBufferAllocator *allocator_; std::unique_ptr<CameraConfiguration> config_; - std::map<int, std::pair<void *, unsigned int>> mappedBuffers_; + std::map<FrameBuffer *, MappedBuffer> mappedBuffers_; /* Capture state, buffers queue and statistics */ bool isCapturing_; |