aboutsummaryrefslogtreecommitdiff
path: root/include/FileAnalyzer.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-11-29 17:54:12 +0100
committerdec05eba <dec05eba@protonmail.com>2022-11-29 17:54:12 +0100
commit5303ca008e760e4e4707c0816449fb83f278426b (patch)
treed42e4d2fdcfc55e3ff2ad7135dba7b9ba2078e1b /include/FileAnalyzer.hpp
parent94152da2ef18a673a996e3d5cfb3780a8f5f7feb (diff)
Matrix: set filesize limit to int64 and remove 300mb limit for non-image files
Diffstat (limited to 'include/FileAnalyzer.hpp')
-rw-r--r--include/FileAnalyzer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/FileAnalyzer.hpp b/include/FileAnalyzer.hpp
index 4ae95ff..7be154f 100644
--- a/include/FileAnalyzer.hpp
+++ b/include/FileAnalyzer.hpp
@@ -56,7 +56,7 @@ namespace QuickMedia {
const std::string& get_filepath() const;
ContentType get_content_type() const;
- size_t get_file_size() const;
+ int64_t get_file_size() const;
std::optional<Dimensions> get_dimensions() const;
std::optional<double> get_duration_seconds() const;
private:
@@ -65,7 +65,7 @@ namespace QuickMedia {
private:
std::string filepath;
ContentType content_type;
- size_t file_size;
+ int64_t file_size;
std::optional<Dimensions> dimensions;
std::optional<double> duration_seconds;
bool loaded;