diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-04-24 14:29:52 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-04-24 09:35:51 -0700 |
commit | 98ae7b1f8657d153dd3b431638ff0110429b9d5f (patch) | |
tree | e0118971ab7d5b7601660fd65e50038a0098239d /dive.h | |
parent | a0a3c6ec1507c86d49d7851b54d781321e3d4ef6 (diff) | |
download | subsurface-98ae7b1f8657d153dd3b431638ff0110429b9d5f.tar.gz |
Don't load images too often
Factor out image load to find timestamp from loop over dives.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -383,7 +383,7 @@ struct picture { for (struct picture *picture = (_divestruct).picture_list; picture; picture = picture->next) extern struct picture *alloc_picture(); -extern bool dive_check_picture_time(struct dive *d, char *filename, int shift_time); +extern bool dive_check_picture_time(struct dive *d, char *filename, int shift_time, timestamp_t timestamp); extern void dive_create_picture(struct dive *d, char *filename, int shift_time); extern void dive_add_picture(struct dive *d, struct picture *newpic); extern void dive_remove_picture(char *filename); |