diff options
author | Jeong-Seok Yang <jseok.yang@samsung.com> | 2011-04-22 19:28:22 +0900 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-06-13 16:38:20 +0800 |
commit | 91a686909817843842e4c1e097280962a7c4eb61 (patch) | |
tree | 62993d2b975eea55a868bf33d6ccaaaf5f918bd1 /libcamera | |
parent | 41f0acecab5c8e83ed081728f35024050ab1e6e6 (diff) | |
download | device_samsung_crespo-91a686909817843842e4c1e097280962a7c4eb61.zip device_samsung_crespo-91a686909817843842e4c1e097280962a7c4eb61.tar.gz device_samsung_crespo-91a686909817843842e4c1e097280962a7c4eb61.tar.bz2 |
libcamera: Increase memory buffer
bug fix : libcamera is crashed when capturing picture on back
camera sometimes.
It is caused by overflow the memory buffer.
So, we increase the size of buffer to 5M.
Change-Id: If72c06a77e8eaa9544d685c452121eefaa488db1
Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
Diffstat (limited to 'libcamera')
-rwxr-xr-x | libcamera/SecCamera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcamera/SecCamera.cpp b/libcamera/SecCamera.cpp index 40fb955..e28640d 100755 --- a/libcamera/SecCamera.cpp +++ b/libcamera/SecCamera.cpp @@ -3034,7 +3034,7 @@ status_t SecCamera::dump(int fd) } double SecCamera::jpeg_ratio = 0.7; -int SecCamera::interleaveDataSize = 4261248; +int SecCamera::interleaveDataSize = 5242880; int SecCamera::jpegLineLength = 636; }; // namespace android |