diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-06-19 22:47:28 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-06-19 22:47:28 +0200 |
| commit | 2d9ad1b7bb17ae209aab7f85eb9d850bfead265f (patch) | |
| tree | 76583ba29192026751c616891b4e694bba1aa9d8 /src/lib | |
| parent | 06454239bd5ed595fe3d5a26c667a6fe15e0d21f (diff) | |
Fix hanging butler due to nasty signal ordering problems.v2.15.83
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/dcp_content.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 66f5331b0..ec6894428 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -240,8 +240,11 @@ DCPContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job) boost::mutex::scoped_lock lm (_mutex); atmos.reset (new AtmosContent(this)); } - atmos->set_length (examiner->atmos_length()); + /* Setting length will cause calculations to be made based on edit rate, so that must + * be set up first otherwise hard-to-spot exceptions will be thrown. + */ atmos->set_edit_rate (examiner->atmos_edit_rate()); + atmos->set_length (examiner->atmos_length()); } int texts = 0; |
