Get Sony image lens from Sony lens ID tag

This commit is contained in:
Lawrence Lee
2023-04-02 17:22:10 -07:00
parent 533a05cd9d
commit 30025d2ac2

View File

@@ -320,7 +320,7 @@ FramesData::FramesData(const Glib::ustring &fname, time_t ts) :
//orientation = pos->print(&exif);
}
if (find_exif_tag("Exif.NikonLd4.LensIDNumber")) {
if (find_exif_tag("Exif.NikonLd4.LensIDNumber") || find_exif_tag("Exif.Sony2.LensID")) {
lens = validateUft8(pos->print(&exif));
} else if (find_tag(Exiv2::lensName)) {
lens = validateUft8(pos->print(&exif));