diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-05-15 20:47:35 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-08 07:41:15 -0700 |
commit | b28dba6087f0433af8ece176b64fcac54ca370a4 (patch) | |
tree | 58301772930e3f50f64a92da2bbd1ac1cbc84e3e /core/metadata.h | |
parent | 9a844a075c0e964a21a3bfef22324fbcec88544d (diff) | |
download | subsurface-b28dba6087f0433af8ece176b64fcac54ca370a4.tar.gz |
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>
Diffstat (limited to 'core/metadata.h')
-rw-r--r-- | core/metadata.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/metadata.h b/core/metadata.h index 5cbb865f4..da2a9c3d2 100644 --- a/core/metadata.h +++ b/core/metadata.h @@ -10,10 +10,11 @@ struct metadata { }; enum mediatype_t { - MEDIATYPE_IO_ERROR, // Couldn't read file - MEDIATYPE_UNKNOWN, // Couldn't identify file + MEDIATYPE_UNKNOWN, // Couldn't (yet) identify file + MEDIATYPE_IO_ERROR, // Couldn't read file MEDIATYPE_PICTURE, MEDIATYPE_VIDEO, + MEDIATYPE_STILL_LOADING, // Still processing in the background }; #ifdef __cplusplus |