summaryrefslogtreecommitdiff
path: root/src/qcam/viewfinder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/viewfinder.h')
-rw-r--r--src/qcam/viewfinder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qcam/viewfinder.h b/src/qcam/viewfinder.h
index fb462835..4c2102a6 100644
--- a/src/qcam/viewfinder.h
+++ b/src/qcam/viewfinder.h
@@ -23,7 +23,8 @@ public:
virtual const QList<libcamera::PixelFormat> &nativeFormats() const = 0;
- virtual int setFormat(const libcamera::PixelFormat &format, const QSize &size) = 0;
+ virtual int setFormat(const libcamera::PixelFormat &format, const QSize &size,
+ unsigned int stride) = 0;
virtual void render(libcamera::FrameBuffer *buffer, Image *image) = 0;
virtual void stop() = 0;