From: Carl Hetherington Date: Sat, 1 Oct 2022 10:05:33 +0000 (+0200) Subject: Fix FFmpegExaminer termination condition when there is no video; X-Git-Tag: v2.17.8~7 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=bc872afdf43243456df6f6e6cb079e8ff4710292 Fix FFmpegExaminer termination condition when there is no video; it's hard to see how this ever worked. --- diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc index cd609d0b1..0a4838956 100644 --- a/src/lib/ffmpeg_examiner.cc +++ b/src/lib/ffmpeg_examiner.cc @@ -153,7 +153,7 @@ FFmpegExaminer::FFmpegExaminer (shared_ptr c, shared_ptr= (PULLDOWN_CHECK_FRAMES * 2)) { + if (got_all_audio && (!_video_stream || (_first_video && temporal_reference.size() >= (PULLDOWN_CHECK_FRAMES * 2)))) { /* All done */ break; }