diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-20 00:31:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-20 20:36:46 +0100 |
| commit | 385635f00d39822389adbc99a2d5bdd992f16432 (patch) | |
| tree | 284ad0ac65988eb102f0f6334701496213cfd7a7 /src/lib/ffmpeg_content.cc | |
| parent | 0b66748421b751b1863ce86f98ab449c8e8e87fc (diff) | |
Pass tolerant flag into Content::examine() and the ExamineContentJob.
Along the way this helps to fix #2942.
Diffstat (limited to 'src/lib/ffmpeg_content.cc')
| -rw-r--r-- | src/lib/ffmpeg_content.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<const Film> film, shared_ptr<Job> job) +FFmpegContent::examine(shared_ptr<const Film> film, shared_ptr<Job> job, bool tolerant) { ContentChangeSignaller cc1 (this, FFmpegContentProperty::SUBTITLE_STREAMS); ContentChangeSignaller cc2 (this, FFmpegContentProperty::SUBTITLE_STREAM); @@ -266,7 +266,7 @@ FFmpegContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job) job->set_progress_unknown (); } - Content::examine (film, job); + Content::examine(film, job, tolerant); auto examiner = make_shared<FFmpegExaminer>(shared_from_this (), job); |
