diff options
Diffstat (limited to 'src/qcam/viewfinder_qt.h')
-rw-r--r-- | src/qcam/viewfinder_qt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcam/viewfinder_qt.h b/src/qcam/viewfinder_qt.h index 501c72a7..1a569b9c 100644 --- a/src/qcam/viewfinder_qt.h +++ b/src/qcam/viewfinder_qt.h @@ -32,7 +32,7 @@ public: const QList<libcamera::PixelFormat> &nativeFormats() const override; int setFormat(const libcamera::PixelFormat &format, const QSize &size) override; - void render(libcamera::FrameBuffer *buffer, MappedBuffer *map) override; + void render(libcamera::FrameBuffer *buffer, libcamera::Span<uint8_t> mem) override; void stop() override; QImage getCurrentImage() override; |