summaryrefslogtreecommitdiff
path: root/src/android/camera_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_stream.h')
-rw-r--r--src/android/camera_stream.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/android/camera_stream.h b/src/android/camera_stream.h
index e5427686..2f49d3d4 100644
--- a/src/android/camera_stream.h
+++ b/src/android/camera_stream.h
@@ -100,7 +100,7 @@ public:
Mapped,
};
CameraStream(libcamera::PixelFormat format, libcamera::Size size,
- Type type, unsigned int index, Encoder *encoder = nullptr);
+ Type type, unsigned int index);
const libcamera::PixelFormat &format() const { return format_; }
const libcamera::Size &size() const { return size_; }
@@ -108,6 +108,8 @@ public:
unsigned int index() const { return index_; }
Encoder *encoder() const { return encoder_.get(); }
+ int configure(const libcamera::StreamConfiguration &cfg);
+
private:
libcamera::PixelFormat format_;
libcamera::Size size_;