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-21 21:57:18 +0200
commitb933775fc54e0b51ad3777d72bf2866f0c04bacc (patch)
treec13133d7cfe9722f3b2eeaa52a8686e029172377 /src/reel.cc
parent1ae2755dbbaa30b6240dfd304c289253a577b424 (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