projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef5be12
)
Fix failure to import DCPs since Atmos changes.
v2.15.85
author
Carl Hetherington
<cth@carlh.net>
Thu, 2 Jul 2020 18:16:05 +0000
(20:16 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 2 Jul 2020 18:16:05 +0000
(20:16 +0200)
src/lib/atmos_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/atmos_content.cc
b/src/lib/atmos_content.cc
index 58e009c67273567a6658f2f1faf1b3f508ac8c13..2e59b92b7f288d1653189efd9399a2d7803730b1 100644
(file)
--- a/
src/lib/atmos_content.cc
+++ b/
src/lib/atmos_content.cc
@@
-50,6
+50,10
@@
AtmosContent::AtmosContent (Content* parent, cxml::ConstNodePtr node)
shared_ptr<AtmosContent>
AtmosContent::from_xml (Content* parent, cxml::ConstNodePtr node)
{
+ if (!node->optional_node_child("AtmosLength")) {
+ return shared_ptr<AtmosContent>();
+ }
+
return shared_ptr<AtmosContent> (new AtmosContent(parent, node));
}