aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Matrix.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-04-30 16:33:07 +0200
committerdec05eba <dec05eba@protonmail.com>2021-04-30 16:33:07 +0200
commit47bb22a4aee886deb54ca432bdb14747bf2e9160 (patch)
tree57f4cff63872f70b6d60bf098cb46879bccc3251 /src/plugins/Matrix.cpp
parentc89ffb842054de24e2ad8020d9df81da55e3e574 (diff)
Support webp thumbnails
Diffstat (limited to 'src/plugins/Matrix.cpp')
-rw-r--r--src/plugins/Matrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 77d8f32..6f8b30b 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -3278,7 +3278,7 @@ namespace QuickMedia {
int tmp_file = mkstemp(tmp_filename);
if(tmp_file != -1) {
std::string thumbnail_path;
- if(create_thumbnail(filepath, tmp_filename, thumbnail_max_size))
+ if(create_thumbnail(filepath, tmp_filename, thumbnail_max_size, file_analyzer.get_content_type()))
thumbnail_path = tmp_filename;
else
thumbnail_path = filepath;