aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FileAnalyzer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FileAnalyzer.cpp b/src/FileAnalyzer.cpp
index 976d2cf..f16c232 100644
--- a/src/FileAnalyzer.cpp
+++ b/src/FileAnalyzer.cpp
@@ -263,11 +263,12 @@ namespace QuickMedia {
}
}
+ this->filepath = filepath;
+ loaded = true;
+
if(load_file_metadata && content_type != ContentType::UNKNOWN)
load_metadata();
- this->filepath = filepath;
- loaded = true;
return true;
}