From 385635f00d39822389adbc99a2d5bdd992f16432 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 20 Jan 2025 00:31:32 +0100 Subject: Pass tolerant flag into Content::examine() and the ExamineContentJob. Along the way this helps to fix #2942. --- src/lib/ffmpeg_content.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/ffmpeg_content.cc') diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index 49e4933a6..8434197c5 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -257,7 +257,7 @@ FFmpegContent::as_xml(xmlpp::Element* element, bool with_paths, PathBehaviour pa void -FFmpegContent::examine (shared_ptr film, shared_ptr job) +FFmpegContent::examine(shared_ptr film, shared_ptr job, bool tolerant) { ContentChangeSignaller cc1 (this, FFmpegContentProperty::SUBTITLE_STREAMS); ContentChangeSignaller cc2 (this, FFmpegContentProperty::SUBTITLE_STREAM); @@ -266,7 +266,7 @@ FFmpegContent::examine (shared_ptr film, shared_ptr job) job->set_progress_unknown (); } - Content::examine (film, job); + Content::examine(film, job, tolerant); auto examiner = make_shared(shared_from_this (), job); -- cgit v1.2.3