summaryrefslogtreecommitdiffstats
path: root/libcamera
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-01-14 19:40:03 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-01-14 19:40:03 +0700
commit12eaf1811f8a9dd2a8b88db8e5f515371332b202 (patch)
tree03243863df01758f4bc2af8ca6b0e500d873a19a /libcamera
parent799cb39f2b744dea372c86f82f67712c8726e785 (diff)
downloaddevice_samsung_aries-common-12eaf1811f8a9dd2a8b88db8e5f515371332b202.zip
device_samsung_aries-common-12eaf1811f8a9dd2a8b88db8e5f515371332b202.tar.gz
device_samsung_aries-common-12eaf1811f8a9dd2a8b88db8e5f515371332b202.tar.bz2
aries-common: Call setBatchReflection after setting video recording parameters
ce147 requires setBatchReflection driver to be called after setting the parameters. This is usually done when set in setParameters, but in this case it is called manually from SecCamera.cpp, so it must also be called manually.
Diffstat (limited to 'libcamera')
-rwxr-xr-xlibcamera/SecCamera.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcamera/SecCamera.cpp b/libcamera/SecCamera.cpp
index 7ac1ad2..cb6ad10 100755
--- a/libcamera/SecCamera.cpp
+++ b/libcamera/SecCamera.cpp
@@ -909,6 +909,7 @@ int SecCamera::startRecord(void)
// Some properties for back camera video recording
setISO(ISO_MOVIE);
setMetering(METERING_MATRIX);
+ setBatchReflection();
ret = fimc_v4l2_s_fmt(m_cam_fd2, m_recording_width,
m_recording_height, V4L2_PIX_FMT_NV12T, 0);
@@ -988,6 +989,7 @@ int SecCamera::stopRecord(void)
if (m_camera_id == CAMERA_ID_BACK) {
setISO(ISO_AUTO);
setMetering(METERING_CENTER);
+ setBatchReflection();
}
return 0;