Fix so E-Mount lens names are retrieved (#6437)

This commit is contained in:
Bezierr
2022-03-26 11:02:50 +00:00
committed by GitHub
parent 07ed31922c
commit 784625b5cc

View File

@@ -557,7 +557,7 @@ FrameData::FrameData(rtexif::TagDirectory* frameRootDir_, rtexif::TagDirectory*
} else if (!make.compare (0, 4, "SONY") || !make.compare (0, 6, "KONICA")) {
if (mnote->getTag ("LensID")) {
lens = validateUft8(mnote->getTag("LensID")->valueToString());
if (lens == "Unknown") {
if (!lens.compare (0, 7, "Unknown")) {
lens_from_make_and_model();
}
}