diff options
author | Akwasi Boateng <akwasi.boateng@ti.com> | 2011-10-25 01:26:14 -0500 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-10-25 14:42:14 -0700 |
commit | 8f4de65998c8aab4847f1308e40d50c02243d75b (patch) | |
tree | 76a966194672169af2177b65eea0fc9d2b03ffe6 /camera/AppCallbackNotifier.cpp | |
parent | 5e70d676aa4b83a08d81a893e0b539ba822223f4 (diff) | |
download | hardware_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.cpp | 4 |
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; |