Cleanups and also some speedups for RT 5.9, to be continued

This commit is contained in:
Ingo Weyrich
2020-05-31 17:27:44 +02:00
parent 1fe03b298e
commit 41675913d6
9 changed files with 96 additions and 213 deletions

View File

@@ -3059,18 +3059,16 @@ void ExifManager::parse (bool isRaw, bool skipIgnored, bool parseJpeg)
bool frameRootDetected = false;
if(!frameRootDetected) {
std::vector<const Tag*> risTagList = root->findTags("RawImageSegmentation");
if (!risTagList.empty()) {
for (auto ris : risTagList) {
frames.push_back(ris->getParent());
frameRootDetected = true;
std::vector<const Tag*> risTagList = root->findTags("RawImageSegmentation");
if (!risTagList.empty()) {
for (auto ris : risTagList) {
frames.push_back(ris->getParent());
frameRootDetected = true;
#if PRINT_METADATA_TREE
printf("\n--------------- FRAME (RAWIMAGESEGMENTATION) ---------------\n\n");
ris->getParent()->printAll ();
#endif
}
#if PRINT_METADATA_TREE
printf("\n--------------- FRAME (RAWIMAGESEGMENTATION) ---------------\n\n");
ris->getParent()->printAll ();
#endif
}
}