diff options
author | Raji Reddy Kandi <rajireddy.k@samsung.com> | 2011-10-20 00:20:28 +0530 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-10-19 12:25:18 -0700 |
commit | 6377f8fb662ca0a3848fa74368bebefb7a616b29 (patch) | |
tree | ed9bc650f97d49557685f572df937e614d5ddcc3 /camera/inc/OMXCameraAdapter | |
parent | 3dfd31ddf720cae06583f6499f64d4279c61b336 (diff) | |
download | hardware_ti_omap4-6377f8fb662ca0a3848fa74368bebefb7a616b29.zip hardware_ti_omap4-6377f8fb662ca0a3848fa74368bebefb7a616b29.tar.gz hardware_ti_omap4-6377f8fb662ca0a3848fa74368bebefb7a616b29.tar.bz2 |
CameraHAL: protect mParameters3A from simultaneous read/write.
Fix for Issue: Idle -> remove from the latest launched apps -> Launch Camera
-> Settings -> Restore defaults -> ok -> Flash mode On ->
White balance Cloudy -> Exposure -3 -> Scene mode Party ->
Shooting -> Camcoder mode -> Settings -> Restore defaults ->
ok
==> video preview is red even after we restored the settings.
Change-Id: If4b3672693a092f1956708742a6cc5f2c2c284fb
Signed-off-by: Raji Reddy Kandi <rajireddy.k@samsung.com>
Diffstat (limited to 'camera/inc/OMXCameraAdapter')
-rw-r--r-- | camera/inc/OMXCameraAdapter/OMXCameraAdapter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h index 8418ff4..04bc64c 100644 --- a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h +++ b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h @@ -834,6 +834,7 @@ private: OMX_VERSIONTYPE mLocalVersionParam; unsigned int mPending3Asettings; + Mutex m3ASettingsUpdateLock; Gen3A_settings mParameters3A; OMX_TI_CONFIG_3A_FACE_PRIORITY mFacePriority; |