summaryrefslogtreecommitdiffstats
path: root/libcamera
diff options
context:
space:
mode:
authorkyoungho.yun <kyoungho.yun@samsung.com>2011-08-08 17:05:42 +0900
committerJames Dong <jdong@google.com>2011-11-03 10:16:50 -0700
commit2c396692ddb59fd050915e6c16e34ca112405a61 (patch)
tree64bc07f6b94a2a32dd14e33c71e9c8f63fdb696c /libcamera
parente60e96e5256d9fc0b4aea9c6fd696f7c6cf4751e (diff)
downloaddevice_samsung_crespo-2c396692ddb59fd050915e6c16e34ca112405a61.zip
device_samsung_crespo-2c396692ddb59fd050915e6c16e34ca112405a61.tar.gz
device_samsung_crespo-2c396692ddb59fd050915e6c16e34ca112405a61.tar.bz2
5PC11X: CAMERA: Fix CTS fail list
Fix Issue 4905016 - android.hardware.cts.CameraTest.testPreviewCallbackWithBufferByCamera fails Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com> Change-Id: Iab8ed4b79379c148c106b00c4966c5f72f3ded33 related-to-bug: 5550399,5550524,5550858,5550860,5551018,5550902,
Diffstat (limited to 'libcamera')
-rwxr-xr-xlibcamera/SecCameraHWInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcamera/SecCameraHWInterface.cpp b/libcamera/SecCameraHWInterface.cpp
index 6e9ff8b..adf36ba 100755
--- a/libcamera/SecCameraHWInterface.cpp
+++ b/libcamera/SecCameraHWInterface.cpp
@@ -730,7 +730,7 @@ status_t CameraHardwareSec::startPreviewInternal()
}
mPreviewHeap = mGetMemoryCb((int)mSecCamera->getCameraFd(),
- frame_size + mFrameSizeDelta,
+ frame_size,
kBufferCount,
0); // no cookie