Fixed auto DCP detection did not work with some camera makers
see issue 1312
This commit is contained in:
@@ -446,7 +446,7 @@ DCPProfile* DCPStore::getProfile (Glib::ustring filename) {
|
||||
}
|
||||
|
||||
DCPProfile* DCPStore::getStdProfile(Glib::ustring camShortName) {
|
||||
std::map<Glib::ustring, Glib::ustring>::iterator r = fileStdProfiles.find (camShortName);
|
||||
std::map<Glib::ustring, Glib::ustring>::iterator r = fileStdProfiles.find (camShortName.uppercase());
|
||||
if (r==fileStdProfiles.end()) return NULL;
|
||||
|
||||
return getProfile(r->second);
|
||||
|
Reference in New Issue
Block a user