diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2021-08-18 20:39:48 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2021-08-18 20:39:48 +0200 |
commit | 9ee94b6fd44e93a3eacdcdef9aa96e245a2c961e (patch) | |
tree | f93c4a826d038302d79959c6507a16aa8c20e2a3 /src/photos/PhotoMetadata.vala | |
parent | 29dcf0568d89ade47d70714865d6d917766ec257 (diff) | |
parent | 24cc60499ad147c1897b3b68e0d8e9dde36b013c (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/photos/PhotoMetadata.vala')
-rw-r--r-- | src/photos/PhotoMetadata.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/photos/PhotoMetadata.vala b/src/photos/PhotoMetadata.vala index fdda0e6..7c100c0 100644 --- a/src/photos/PhotoMetadata.vala +++ b/src/photos/PhotoMetadata.vala @@ -283,7 +283,7 @@ public class PhotoMetadata : MediaMetadata { #else exiv2.open_buf(buffer, length); #endif - exif = Exif.Data.new_from_data(buffer, length); + exif = Exif.Data.new_from_data(buffer); source_name = "<memory buffer %d bytes>".printf(length); } @@ -294,7 +294,7 @@ public class PhotoMetadata : MediaMetadata { #if NEW_GEXIV2_API exiv2.from_app1_segment(buffer.get_data()); #else - exif = Exif.Data.new_from_data(buffer.get_data(), buffer.get_size()); + exif = Exif.Data.new_from_data(buffer.get_data()); #endif source_name = "<app1 segment %zu bytes>".printf(buffer.get_size()); } |