[libcamera-devel,7/7] libcamera: pipeline: vimc: Initialise raw capture connection

Message ID 20200722133009.26528-8-kgupta@es.iitr.ac.in
State New
Delegated to: Kieran Bingham
Headers show
Series
  • vimc: Introduce multiple streaming
Related show

Commit Message

Kaaira Gupta July 22, 2020, 1:30 p.m. UTC
Finally, connect RAW Capture to its bufferReady function.

Signed-off-by: Kaaira Gupta <kgupta@es.iitr.ac.in>
---
 src/libcamera/pipeline/vimc/vimc.cpp | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/src/libcamera/pipeline/vimc/vimc.cpp b/src/libcamera/pipeline/vimc/vimc.cpp
index 7e8d355..a942cb1 100644
--- a/src/libcamera/pipeline/vimc/vimc.cpp
+++ b/src/libcamera/pipeline/vimc/vimc.cpp
@@ -647,6 +647,8 @@  int VimcCameraData::init()
 	if (raw_->open())
 		return -ENODEV;
 
+	raw_->bufferReady.connect(this, &VimcCameraData::bufferReadyRaw);
+
 	/* Initialise the supported controls. */
 	const ControlInfoMap &controls = sensor_->controls();
 	ControlInfoMap::Map ctrls;