diff --git a/go.mod b/go.mod index e76cd655c..ea5055cab 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/disintegration/imaging v1.6.2 github.com/djherbis/times v1.5.0 github.com/dsoprea/go-exif/v2 v2.0.0-20210428042052-dca55bf8ca15 // indirect - github.com/dsoprea/go-exif/v3 v3.0.0-20210428042052-dca55bf8ca15 + github.com/dsoprea/go-exif/v3 v3.0.0-20210512055020-8213cfabc61b github.com/dsoprea/go-heic-exif-extractor v0.0.0-20200717090456-b3d9dcddffd1 github.com/dsoprea/go-iptc v0.0.0-20200610044640-bc9ca208b413 // indirect github.com/dsoprea/go-jpeg-image-structure v0.0.0-20210505113650-8010c634293c diff --git a/go.sum b/go.sum index afa1772ed..262e9fac7 100644 --- a/go.sum +++ b/go.sum @@ -51,6 +51,8 @@ github.com/dsoprea/go-exif/v2 v2.0.0-20210428042052-dca55bf8ca15/go.mod h1:oKrjk github.com/dsoprea/go-exif/v3 v3.0.0-20200717053412-08f1b6708903/go.mod h1:0nsO1ce0mh5czxGeLo4+OCZ/C6Eo6ZlMWsz7rH/Gxv8= github.com/dsoprea/go-exif/v3 v3.0.0-20210428042052-dca55bf8ca15 h1:QQjMErNKRqrPUfRmdBpICftkac6holciY+B95S002fY= github.com/dsoprea/go-exif/v3 v3.0.0-20210428042052-dca55bf8ca15/go.mod h1:cg5SNYKHMmzxsr9X6ZeLh/nfBRHHp5PngtEPcujONtk= +github.com/dsoprea/go-exif/v3 v3.0.0-20210512055020-8213cfabc61b h1:Ry/3m2rXSlKtTTfjfzf6JHmCfVQlR2Kp+hg/sLMDv9M= +github.com/dsoprea/go-exif/v3 v3.0.0-20210512055020-8213cfabc61b/go.mod h1:cg5SNYKHMmzxsr9X6ZeLh/nfBRHHp5PngtEPcujONtk= github.com/dsoprea/go-heic-exif-extractor v0.0.0-20200717090456-b3d9dcddffd1 h1:R/EEzpxqQxeEcJ/z0EFTI1U6XsuOnepyp5o1uZg5c2E= github.com/dsoprea/go-heic-exif-extractor v0.0.0-20200717090456-b3d9dcddffd1/go.mod h1:UwRKreeVikXn5OarSnt4OqovcEjsIgZVuc5svj7G5w4= github.com/dsoprea/go-iptc v0.0.0-20200609062250-162ae6b44feb/go.mod h1:kYIdx9N9NaOyD7U6D+YtExN7QhRm+5kq7//yOsRXQtM= diff --git a/internal/meta/exif_test.go b/internal/meta/exif_test.go index 2e244475c..3edbe4720 100644 --- a/internal/meta/exif_test.go +++ b/internal/meta/exif_test.go @@ -94,7 +94,7 @@ func TestExif(t *testing.T) { assert.Equal(t, 0, data.Altitude) assert.Equal(t, "1/2462", data.Exposure) assert.Equal(t, "GoPro", data.CameraMake) - // TODO assert.Equal(t, "HD2", data.CameraModel) + assert.Equal(t, "HD2", data.CameraModel) assert.Equal(t, "", data.CameraOwner) assert.Equal(t, "", data.CameraSerial) assert.Equal(t, 16, data.FocalLength)