summaryrefslogtreecommitdiff
path: root/src/reel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-27 22:59:12 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-20 19:32:42 +0200
commit43f472e528f62572254bb135a27300c02c205e0b (patch)
tree25f6b2874232631c7058118cfb7eae2114312036 /src/reel.cc
parent351599c18286636ab89e78af5397f36a65e20c2d (diff)
Support CPL metadata.
Diffstat (limited to 'src/reel.cc')
-rw-r--r--src/reel.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/reel.cc b/src/reel.cc
index 453a3163..d3e2a850 100644
--- a/src/reel.cc
+++ b/src/reel.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2014-2017 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2020 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
@@ -115,7 +115,7 @@ Reel::Reel (boost::shared_ptr<const cxml::Node> node)
node->done ();
}
-void
+xmlpp::Element *
Reel::write_to_cpl (xmlpp::Element* node, Standard standard) const
{
xmlpp::Element* reel = node->add_child ("Reel");
@@ -151,6 +151,8 @@ Reel::write_to_cpl (xmlpp::Element* node, Standard standard) const
if (_atmos) {
_atmos->write_to_cpl (asset_list, standard);
}
+
+ return asset_list;
}
bool