diff options
Diffstat (limited to 'src/android/camera_metadata.cpp')
-rw-r--r-- | src/android/camera_metadata.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/android/camera_metadata.cpp b/src/android/camera_metadata.cpp index 8e36e758..6f1bcdbe 100644 --- a/src/android/camera_metadata.cpp +++ b/src/android/camera_metadata.cpp @@ -13,6 +13,11 @@ using namespace libcamera; LOG_DEFINE_CATEGORY(CameraMetadata) +CameraMetadata::CameraMetadata() + : metadata_(nullptr), valid_(false) +{ +} + CameraMetadata::CameraMetadata(size_t entryCapacity, size_t dataCapacity) { metadata_ = allocate_camera_metadata(entryCapacity, dataCapacity); |