X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcp_content.cc;h=66f5331b0decb567b86afb129fd36d485fb8e1bb;hp=0ce4945411c3a5e5d0128df437d2dea86d8f2278;hb=febe9c38dcc26859ff61a084fa4a6f98897018f1;hpb=8541ba8e544b77d582e3ce00a2ffae96e52eb30d diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 0ce494541..66f5331b0 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -236,8 +236,12 @@ DCPContent::examine (shared_ptr film, shared_ptr job) } if (examiner->has_atmos()) { - boost::mutex::scoped_lock lm (_mutex); - atmos.reset (new AtmosContent(this)); + { + boost::mutex::scoped_lock lm (_mutex); + atmos.reset (new AtmosContent(this)); + } + atmos->set_length (examiner->atmos_length()); + atmos->set_edit_rate (examiner->atmos_edit_rate()); } int texts = 0;