diff --git a/app/node/project/footage/footage.cpp b/app/node/project/footage/footage.cpp index 307ce247b..fd936faf6 100644 --- a/app/node/project/footage/footage.cpp +++ b/app/node/project/footage/footage.cpp @@ -544,7 +544,12 @@ void Footage::CheckFootage() if (!fn.isEmpty()) { QFileInfo info(fn); - qint64 current_file_timestamp = info.lastModified().toMSecsSinceEpoch(); + qint64 current_file_timestamp; + if (!info.lastModified().isValid()) { + current_file_timestamp = 0; + } else { + current_file_timestamp = info.lastModified().toMSecsSinceEpoch(); + } if (current_file_timestamp != timestamp()) { // File has changed!