diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-08-17 17:10:12 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-08-17 17:10:12 +0200 |
commit | 008bc99860fd353a5da5d06e6be5937f4a358aed (patch) | |
tree | d50b38f704b90b83895a21fd610bcf78c31b2cc9 /src/video-support | |
parent | 4ec8ba6ace7234ddc24a7d362a34d9055a83812c (diff) | |
parent | 7eef6a59ba38582bed5d459974211eb1f53e1f5d (diff) |
Merge branch 'release/debian/0.32.2-1'debian/0.32.2-1
Diffstat (limited to 'src/video-support')
-rw-r--r-- | src/video-support/VideoReader.vala | 2 | ||||
-rw-r--r-- | src/video-support/VideoSourceCollection.vala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video-support/VideoReader.vala b/src/video-support/VideoReader.vala index 11f11e1..adb6680 100644 --- a/src/video-support/VideoReader.vala +++ b/src/video-support/VideoReader.vala @@ -98,7 +98,7 @@ public class VideoReader { return ImportResult.UNSUPPORTED_FORMAT; } - var timestamp = info.get_modification_date_time(); + var timestamp = coarsify_date_time(info.get_modification_date_time()); // make sure params has a valid md5 assert(params.md5 != null); diff --git a/src/video-support/VideoSourceCollection.vala b/src/video-support/VideoSourceCollection.vala index 89daad3..8dd75d9 100644 --- a/src/video-support/VideoSourceCollection.vala +++ b/src/video-support/VideoSourceCollection.vala @@ -126,7 +126,7 @@ public class VideoSourceCollection : MediaSourceCollection { if (video.get_filesize() != info.get_size()) return; - if (video.get_timestamp().equal(info.get_modification_date_time())) + if (video.get_timestamp().equal(coarsify_date_time(info.get_modification_date_time()))) matching_master.add(video); } |