From 2798737c19434d4b535f5ff420d572707ce52ce0 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Tue, 13 Apr 2021 15:45:47 +1000 Subject: [PATCH] import: don't check for image sequences if there are no video params --- app/task/project/import/import.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/task/project/import/import.cpp b/app/task/project/import/import.cpp index 20f87ca58..662342daa 100644 --- a/app/task/project/import/import.cpp +++ b/app/task/project/import/import.cpp @@ -139,7 +139,8 @@ void ProjectImportTask::ValidateImageSequence(Footage *footage, QFileInfoList& i // By this point we've established that video contains a single still image stream. Now we'll // see if it ends with numbers. if (Decoder::GetImageSequenceDigitCount(footage->filename()) > 0 - && !image_sequence_ignore_files_.contains(footage->filename())) { + && !image_sequence_ignore_files_.contains(footage->filename()) + && footage->InputArraySize(Footage::kVideoParamsInput)) { VideoParams video_stream = footage->GetVideoParams(0); QSize dim(video_stream.width(), video_stream.height());