aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/FileAnalyzer.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/FileAnalyzer.hpp b/include/FileAnalyzer.hpp
index acc62d7..851a3e4 100644
--- a/include/FileAnalyzer.hpp
+++ b/include/FileAnalyzer.hpp
@@ -50,6 +50,8 @@ namespace QuickMedia {
public:
FileAnalyzer();
bool load_file(const char *filepath, bool load_file_metadata = true);
+ // Cached
+ bool load_metadata();
const std::string& get_filepath() const;
ContentType get_content_type() const;
@@ -66,5 +68,6 @@ namespace QuickMedia {
std::optional<Dimensions> dimensions;
std::optional<double> duration_seconds;
bool loaded;
+ bool metadata_loaded;
};
} \ No newline at end of file