diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-06-19 20:29:31 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-06-19 20:29:31 +0200 |
| commit | febe9c38dcc26859ff61a084fa4a6f98897018f1 (patch) | |
| tree | b259190cdd7d886c266dac2647de14e57a86b040 | |
| parent | 8541ba8e544b77d582e3ce00a2ffae96e52eb30d (diff) | |
Missing setup of AtmosContent in DCP.
| -rw-r--r-- | src/lib/dcp_content.cc | 8 |
1 files 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<const Film> film, shared_ptr<Job> 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; |
