From: Udi F. <udi...@us...> - 2008-06-05 20:38:38
|
Update of /cvsroot/ufraw/ufraw In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv2609 Modified Files: ufraw_exiv2.cc Log Message: Read lens information from Minolta and Pentax makernotes. Index: ufraw_exiv2.cc =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_exiv2.cc,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- ufraw_exiv2.cc 23 May 2008 21:32:32 -0000 1.31 +++ ufraw_exiv2.cc 5 Jun 2008 20:38:34 -0000 1.32 @@ -156,6 +156,12 @@ } else if ( (pos=exifData.findKey(Exiv2::ExifKey("Exif.Canon.0x0095"))) != exifData.end() ) { strlcpy_to_utf8(uf->conf->lensText, max_name, pos); + } else if ( (pos=exifData.findKey(Exiv2::ExifKey("Exif.Minolta.LensID"))) + != exifData.end() ) { + strlcpy_to_utf8(uf->conf->lensText, max_name, pos); + } else if ( (pos=exifData.findKey(Exiv2::ExifKey("Exif.Pentax.LensType"))) + != exifData.end() ) { + strlcpy_to_utf8(uf->conf->lensText, max_name, pos); } /* Read flash mode */ if ( (pos=exifData.findKey(Exiv2::ExifKey("Exif.Photo.Flash"))) |