From 57c2171238d2be832fcfc709bc126e47bb198240 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Tue, 23 Nov 2021 18:46:55 +0900 Subject: android: Increase result metadata size Increase the initial size of the result metadata, as we will be adding more entries in the near future. Signed-off-by: Paul Elder Reviewed-by: Kieran Bingham Reviewed-by: Jacopo Mondi --- src/android/camera_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp index f28fdd6a..83825736 100644 --- a/src/android/camera_device.cpp +++ b/src/android/camera_device.cpp @@ -1313,7 +1313,7 @@ CameraDevice::getResultMetadata(const Camera3RequestDescriptor &descriptor) cons * Total bytes for JPEG metadata: 82 */ std::unique_ptr resultMetadata = - std::make_unique(44, 166); + std::make_unique(88, 166); if (!resultMetadata->isValid()) { LOG(HAL, Error) << "Failed to allocate result metadata"; return nullptr; -- cgit v1.2.1