Remove unnecessary resets of exif date which cause re-reads of exif date
to be slow.
The initial read of exif date is unfortunately still slow.
fd->mode = st->st_mode;
fd->ref = 1;
fd->magick = FD_MAGICK;
fd->mode = st->st_mode;
fd->ref = 1;
fd->magick = FD_MAGICK;
if (disable_sidecars) fd->disable_grouping = TRUE;
if (disable_sidecars) fd->disable_grouping = TRUE;
-void init_exif_time_data(GList *files)
-{
- FileData *file;
- DEBUG_1("%s init_exif_time_data: ...", get_exec_time());
- while (files)
- {
- file = files->data;
-
- if (file)
- file->exifdate = 0;
-
- files = files->next;
- }
-}
-
void read_exif_time_data(FileData *file)
{
if (file->exifdate > 0)
void read_exif_time_data(FileData *file)
{
if (file->exifdate > 0)
}
if (basename_hash) file_data_basename_hash_free(basename_hash);
}
if (basename_hash) file_data_basename_hash_free(basename_hash);
- // Call a separate function to initialize the exif datestamps for the found files..
- if (files) init_exif_time_data(*files);
-