From 2630679ac039ac95cfb0e8f77aefc3fae1df80cb Mon Sep 17 00:00:00 2001 From: James Dong Date: Fri, 24 Aug 2012 14:42:26 -0700 Subject: [PATCH] Reduce the number of advertised buffers needed from producer (hal) end o related-to-bug: 7046065 Change-Id: I4fd2dcaaff1a2d89d004f9f7033256b8cef456c1 --- libcamera2/ExynosCameraHWInterface2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcamera2/ExynosCameraHWInterface2.cpp b/libcamera2/ExynosCameraHWInterface2.cpp index 9437a73..07e1de2 100644 --- a/libcamera2/ExynosCameraHWInterface2.cpp +++ b/libcamera2/ExynosCameraHWInterface2.cpp @@ -1342,7 +1342,7 @@ int ExynosCameraHWInterface2::allocateStream(uint32_t width, uint32_t height, in *format_actual = HAL_PIXEL_FORMAT_YCbCr_420_SP; // NV12M *usage = GRALLOC_USAGE_SW_WRITE_OFTEN; - *max_buffers = 10; + *max_buffers = 6; recordParameters.outputWidth = width; recordParameters.outputHeight = height; -- 2.20.1