metadata: keep makernotes

(cherry picked from commit 494ae069d4f9d985b65375e104513f9c85453d5b)
This commit is contained in:
Alberto Griggio 2019-05-20 09:20:02 +02:00 committed by Lawrence Lee
parent 77d7e633e5
commit 38d87bae72
No known key found for this signature in database
GPG Key ID: 048FF2B76A63895F

View File

@ -207,8 +207,7 @@ void Exiv2Metadata::saveToImage(const Glib::ustring &path) const
void Exiv2Metadata::remove_unwanted(Exiv2::Image *dst) const
{
static const std::vector<std::string> keys = {
"Exif.Image.Orientation",
"Exif.Photo.MakerNote"
"Exif.Image.Orientation"
};
for (auto &k : keys) {
auto it = dst->exifData().findKey(Exiv2::ExifKey(k));