Some more cleanups

This commit is contained in:
Ingo Weyrich
2020-06-02 19:46:13 +02:00
parent 41675913d6
commit 48648170e9
2 changed files with 9 additions and 17 deletions

View File

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