From cbcc48abb48d6f071be5684729cf6242f24d43bc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 1 Oct 2022 12:05:33 +0200 Subject: Fix FFmpegExaminer termination condition when there is no video; it's hard to see how this ever worked. --- src/lib/ffmpeg_examiner.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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; } -- cgit v1.2.3