From e2a18f23bde577c73f4ef3da47b903ed41091eda 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(-) 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; } -- cgit v1.2.3