metadata: use exiv2 to handle BMFF files (e.g. CR3) if supported

(cherry picked from commit 1469a0a8225cb44fe7f130f375879aef23496a8b)
This commit is contained in:
Alberto Griggio
2021-04-07 02:18:33 -07:00
committed by Lawrence Lee
parent c75296b910
commit 77d1bc2cb1

View File

@@ -517,6 +517,9 @@ void Exiv2Metadata::init()
{
cache_.reset(new ImageCache(IMAGE_CACHE_SIZE));
Exiv2::XmpParser::initialize();
#ifdef EXV_ENABLE_BMFF
Exiv2::enableBMFF(true);
#endif
}