summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibcamera/SecCamera.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcamera/SecCamera.cpp b/libcamera/SecCamera.cpp
index fb3775d..9e82a53 100755
--- a/libcamera/SecCamera.cpp
+++ b/libcamera/SecCamera.cpp
@@ -904,6 +904,8 @@ int SecCamera::startRecord(void)
// Some properties for back camera video recording
setSlowAE(SLOW_AE_ON);
setGamma(GAMMA_ON);
+ setISO(ISO_MOVIE);
+ setMetering(METERING_MATRIX);
ret = fimc_v4l2_s_fmt(m_cam_fd2, m_recording_width,
m_recording_height, V4L2_PIX_FMT_NV12T, 0);
@@ -983,6 +985,8 @@ int SecCamera::stopRecord(void)
if (m_camera_id == CAMERA_ID_BACK) {
setSlowAE(SLOW_AE_OFF);
setGamma(GAMMA_OFF);
+ setISO(ISO_AUTO);
+ setMetering(METERING_CENTER);
}
return 0;