From febe9c38dcc26859ff61a084fa4a6f98897018f1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 19 Jun 2020 20:29:31 +0200 Subject: [PATCH] Missing setup of AtmosContent in DCP. --- src/lib/dcp_content.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; -- 2.30.2