Dive pictures: Recognize video files

When generating thumbnails, test for video files. If it is, use
a dummy-thumbnail. Write only the type (video), but no image to
the thumbnail cache, for forward-compatibility.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-05-15 20:47:35 +02:00 committed by Dirk Hohndel
parent 9a844a075c
commit b28dba6087
5 changed files with 83 additions and 47 deletions

View file

@ -42,6 +42,7 @@ QByteArray getCurrentAppState();
void setCurrentAppState(const QByteArray &state);
void init_proxy();
QString getUUID();
extern const QStringList videoExtensionsList;
QStringList imageExtensionFilters();
char *intdup(int index);
char *copy_qstring(const QString &);