summaryrefslogtreecommitdiffstats
path: root/libcamera
diff options
context:
space:
mode:
Diffstat (limited to 'libcamera')
-rw-r--r--libcamera/SecCamera.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcamera/SecCamera.cpp b/libcamera/SecCamera.cpp
index 92ad353..733c374 100644
--- a/libcamera/SecCamera.cpp
+++ b/libcamera/SecCamera.cpp
@@ -855,6 +855,8 @@ void SecCamera::DeinitCamera()
m_cam_fd = -1;
}
#ifdef DUAL_PORT_RECORDING
+ stopRecord();
+
LOGE("DeinitCamera: m_cam_fd2(%d)", m_cam_fd2);
if (m_cam_fd2 > -1) {
close(m_cam_fd2);