X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fdcp_content.cc;h=d0f434e5a87af1e0b0da304ca73c136620c7623e;hb=386e25f3b9d3fa59cbdeed458d9b3e0d21e338b8;hp=95f293b4d3ef894f1cfd50529716c30a17aa42cc;hpb=1f88a38a2a607c21988a403e76f315444c4be36b;p=dcpomatic.git diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 95f293b4d..d0f434e5a 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -180,6 +180,7 @@ DCPContent::read_sub_directory (boost::filesystem::path p) } } +/** @param film Film, or 0 */ void DCPContent::examine (shared_ptr film, shared_ptr job) { @@ -198,7 +199,7 @@ DCPContent::examine (shared_ptr film, shared_ptr job) } Content::examine (film, job); - shared_ptr examiner (new DCPExaminer(shared_from_this(), film->tolerant())); + shared_ptr examiner (new DCPExaminer(shared_from_this(), film ? film->tolerant() : true)); if (examiner->has_video()) { {