summaryrefslogtreecommitdiffstats
path: root/camera/AppCallbackNotifier.cpp
diff options
context:
space:
mode:
authorAkwasi Boateng <akwasi.boateng@ti.com>2011-10-25 01:26:14 -0500
committerJames Dong <jdong@google.com>2011-10-25 14:42:14 -0700
commit8f4de65998c8aab4847f1308e40d50c02243d75b (patch)
tree76a966194672169af2177b65eea0fc9d2b03ffe6 /camera/AppCallbackNotifier.cpp
parent5e70d676aa4b83a08d81a893e0b539ba822223f4 (diff)
downloadhardware_ti_omap4-8f4de65998c8aab4847f1308e40d50c02243d75b.zip
hardware_ti_omap4-8f4de65998c8aab4847f1308e40d50c02243d75b.tar.gz
hardware_ti_omap4-8f4de65998c8aab4847f1308e40d50c02243d75b.tar.bz2
Fixes for MMS setparameter crashes
1. Fix native crash for set parameter when zoom is applied in MMS mode and while recording is in progress. 2. Don't allow restart of preview or preview stop when recording is in progress. 3. Fix slow zoom when in MMS mode casued by unnecessary preview restarts. 4. Fix initial jerky preview when you start recording in MMS mode caused by having to restart preview. Change-Id: Ie64799974488caae5887e4c9f9072d74a12dd797 Signed-off-by: Akwasi Boateng <akwasi.boateng@ti.com> related-to-bug: 5507018
Diffstat (limited to 'camera/AppCallbackNotifier.cpp')
-rw-r--r--camera/AppCallbackNotifier.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/camera/AppCallbackNotifier.cpp b/camera/AppCallbackNotifier.cpp
index 9368d3e..c716291 100644
--- a/camera/AppCallbackNotifier.cpp
+++ b/camera/AppCallbackNotifier.cpp
@@ -1263,6 +1263,10 @@ void AppCallbackNotifier::releaseSharedVideoBuffers()
mVideoMetadataBufferMemoryMap.clear();
mVideoMetadataBufferReverseMap.clear();
+ if (mUseVideoBuffers)
+ {
+ mVideoMap.clear();
+ }
}
LOG_FUNCTION_NAME_EXIT;