projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8541ba8
)
Missing setup of AtmosContent in DCP.
author
Carl Hetherington
<cth@carlh.net>
Fri, 19 Jun 2020 18:29:31 +0000
(20:29 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 19 Jun 2020 18:29:31 +0000
(20:29 +0200)
src/lib/dcp_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/dcp_content.cc
b/src/lib/dcp_content.cc
index 0ce4945411c3a5e5d0128df437d2dea86d8f2278..66f5331b0decb567b86afb129fd36d485fb8e1bb 100644
(file)
--- 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;