Some more cleanups
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user