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/image_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/image_content.cc')
| -rw-r--r-- | src/lib/image_content.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/image_content.cc b/src/lib/image_content.cc index e7ba88194..218c0e80c 100644 --- a/src/lib/image_content.cc +++ b/src/lib/image_content.cc @@ -112,7 +112,7 @@ ImageContent::as_xml(xmlpp::Element* element, bool with_paths, PathBehaviour pat void -ImageContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job) +ImageContent::examine(shared_ptr<const Film> film, shared_ptr<Job> job, bool tolerant) { if (_path_to_scan) { job->sub (_("Scanning image files")); @@ -136,7 +136,7 @@ ImageContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job) set_paths (paths); } - Content::examine (film, job); + Content::examine(film, job, tolerant); auto examiner = make_shared<ImageExaminer>(film, shared_from_this(), job); video->take_from_examiner(film, examiner); |
