diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-01 14:43:08 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-01 14:43:08 +0200 |
commit | 2b3f22361da0c1d8e6ce70d71352821758186db7 (patch) | |
tree | 5d10633b47369b3aa52a05bf889ede0dbe5ee108 /src/photos/RawSupport.vala | |
parent | 211da5fc3048ca2b6ccee2166b0aaaade55cb84f (diff) | |
parent | dc6c76eb04dfe3d4262a1806808f0bc0bf523238 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/photos/RawSupport.vala')
-rw-r--r-- | src/photos/RawSupport.vala | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/photos/RawSupport.vala b/src/photos/RawSupport.vala index d11d06e..8c23826 100644 --- a/src/photos/RawSupport.vala +++ b/src/photos/RawSupport.vala @@ -196,13 +196,8 @@ public class RawSniffer : PhotoFileSniffer { } if (detected.metadata != null) { - uint8[]? flattened_sans_thumbnail = detected.metadata.flatten_exif(false); - if (flattened_sans_thumbnail != null && flattened_sans_thumbnail.length > 0) - detected.exif_md5 = md5_binary(flattened_sans_thumbnail, flattened_sans_thumbnail.length); - - uint8[]? flattened_thumbnail = detected.metadata.flatten_exif_preview(); - if (flattened_thumbnail != null && flattened_thumbnail.length > 0) - detected.thumbnail_md5 = md5_binary(flattened_thumbnail, flattened_thumbnail.length); + detected.exif_md5 = detected.metadata.exif_hash(); + detected.thumbnail_md5 = detected.metadata.thumbnail_hash(); } if (calc_md5) |