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
commit3dcde7b7332edf04cd597b01d69950544dcd6589 (patch)
tree1704841131bb696a5da731ed6dd3d127426c9265 /camera/AppCallbackNotifier.cpp
parent101e561aab4690accf96adc376f5be528a9b4d79 (diff)
downloadhardware_ti_omap4xxx-3dcde7b7332edf04cd597b01d69950544dcd6589.zip
hardware_ti_omap4xxx-3dcde7b7332edf04cd597b01d69950544dcd6589.tar.gz
hardware_ti_omap4xxx-3dcde7b7332edf04cd597b01d69950544dcd6589.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;