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 <paul.elder@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
f4ec026d28
commit
57c2171238
1 changed files with 1 additions and 1 deletions
|
@ -1313,7 +1313,7 @@ CameraDevice::getResultMetadata(const Camera3RequestDescriptor &descriptor) cons
|
||||||
* Total bytes for JPEG metadata: 82
|
* Total bytes for JPEG metadata: 82
|
||||||
*/
|
*/
|
||||||
std::unique_ptr<CameraMetadata> resultMetadata =
|
std::unique_ptr<CameraMetadata> resultMetadata =
|
||||||
std::make_unique<CameraMetadata>(44, 166);
|
std::make_unique<CameraMetadata>(88, 166);
|
||||||
if (!resultMetadata->isValid()) {
|
if (!resultMetadata->isValid()) {
|
||||||
LOG(HAL, Error) << "Failed to allocate result metadata";
|
LOG(HAL, Error) << "Failed to allocate result metadata";
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue