From a5dbcd9b9845a98b85007229f93c167262d8590a Mon Sep 17 00:00:00 2001 From: Akwasi Boateng Date: Tue, 1 Nov 2011 10:43:52 -0500 Subject: CameraHAL: Handling OMX initialization Additional mOmxInitialized flag has been added to track whether OMX has been succesfully initialized to prevent duplicate OMX_DeInit() in OMXCameraAdapter destructor. Signed-off-by: Daniel Levin Signed-off-by: Akwasi Boateng Signed-off-by: Iliyan Malchev Change-Id: I269c5ac9d5de3f3e9088a11a3bea7127c1bd79de --- camera/inc/OMXCameraAdapter/OMXCameraAdapter.h | 1 + 1 file changed, 1 insertion(+) (limited to 'camera/inc/OMXCameraAdapter') diff --git a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h index 981e22d..4786f82 100644 --- a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h +++ b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h @@ -887,6 +887,7 @@ private: int mBracketingRange; CameraParameters mParameters; + bool mOmxInitialized; OMXCameraAdapterComponentContext mCameraAdapterParameters; bool mFirstTimeInit; -- cgit v1.1