summaryrefslogtreecommitdiff
path: root/src/lib/check_content_job.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/check_content_job.cc')
-rw-r--r--src/lib/check_content_job.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/check_content_job.cc b/src/lib/check_content_job.cc
index 98e8c7989..5e9db4d6d 100644
--- a/src/lib/check_content_job.cc
+++ b/src/lib/check_content_job.cc
@@ -86,7 +86,7 @@ CheckContentJob::run()
set_message(_("Some files have been changed since they were added to the project.\n\nThese files will now be re-examined, so you may need to check their settings."));
}
- if (_film->last_written_by_earlier_than(2, 18, 30)) {
+ if (!_film->last_written_by_git() && _film->last_written_by_earlier_than(2, 18, 30)) {
std::vector<shared_ptr<Content>> needs_upgrade;
std::copy_if(content.begin(), content.end(), std::back_inserter(needs_upgrade), [](shared_ptr<Content> c) { return static_cast<bool>(dynamic_pointer_cast<FFmpegContent>(c)); });
if (!needs_upgrade.empty()) {