summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibcamera/SecCameraHWInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcamera/SecCameraHWInterface.cpp b/libcamera/SecCameraHWInterface.cpp
index 85e6288..560bdbd 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