summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCameraHWInterface.h
diff options
context:
space:
mode:
authorJeong-Seok Yang <jseok.yang@samsung.com>2011-01-21 21:56:50 +0900
committerSimon Wilson <simonwilson@google.com>2011-01-27 14:37:09 -0800
commit68733d5982bc905c9668547659d84e75a908a996 (patch)
treef827f25637b657e8f96eb4cf95e668f5553eda9d /libcamera/SecCameraHWInterface.h
parent81a2d1d7d66d1aaf17c326948d0d1eafb993c957 (diff)
downloaddevice_samsung_crespo-68733d5982bc905c9668547659d84e75a908a996.zip
device_samsung_crespo-68733d5982bc905c9668547659d84e75a908a996.tar.gz
device_samsung_crespo-68733d5982bc905c9668547659d84e75a908a996.tar.bz2
libcamera: Add lock for recording video
bug fix: Flag about recording video was used without locking. So, It was occured a error when recording stops. Change-Id: Ie19ec12d17a5a70e44f5ca8743e8ae5672c16a34 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
Diffstat (limited to 'libcamera/SecCameraHWInterface.h')
-rw-r--r--libcamera/SecCameraHWInterface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcamera/SecCameraHWInterface.h b/libcamera/SecCameraHWInterface.h
index 724d1bc..75526c6 100644
--- a/libcamera/SecCameraHWInterface.h
+++ b/libcamera/SecCameraHWInterface.h
@@ -201,6 +201,7 @@ private:
int32_t mMsgEnabled;
bool mRecordRunning;
+ mutable Mutex mRecordLock;
int mPostViewWidth;
int mPostViewHeight;
int mPostViewSize;