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.4~6 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=5d8c30819fd0ae691e9e71355a80b9403d001400;p=dcpomatic.git 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 73b9ab3a0..673de3a1d 100644 --- a/src/lib/ffmpeg_examiner.cc +++ b/src/lib/ffmpeg_examiner.cc @@ -152,7 +152,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; }