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/examine_content_job.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/examine_content_job.cc')
| -rw-r--r-- | src/lib/examine_content_job.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc index baa11ac93..799cda2ab 100644 --- a/src/lib/examine_content_job.cc +++ b/src/lib/examine_content_job.cc @@ -34,9 +34,10 @@ using std::cout; using std::shared_ptr; -ExamineContentJob::ExamineContentJob (shared_ptr<const Film> film, shared_ptr<Content> c) - : Job (film) - , _content (c) +ExamineContentJob::ExamineContentJob(shared_ptr<const Film> film, shared_ptr<Content> content, bool tolerant) + : Job(film) + , _content(content) + , _tolerant(tolerant) { } @@ -65,7 +66,7 @@ ExamineContentJob::json_name () const void ExamineContentJob::run () { - _content->examine (_film, shared_from_this()); + _content->examine(_film, shared_from_this(), _tolerant); set_progress (1); set_state (FINISHED_OK); } |
