summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-28 00:44:36 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-28 00:44:36 +0000
commitd88c2244d4f90d54164fcc856c3ba73809756381 (patch)
tree9e330e066c2318ed1b162df6946affc94ee06a81 /src/dcp.cc
parent04b4d9f08ee30eb4dc4e62cddc4b332c69d18ac0 (diff)
Various test fixes.
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index 1925ac0b..e4a5678c 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -328,17 +328,17 @@ DCP::write_xml (
shared_ptr<const Signer> signer
)
{
- string const pkl_uuid = make_uuid ();
- boost::filesystem::path const pkl_path = write_pkl (standard, pkl_uuid, metadata, signer);
-
- write_volindex (standard);
- write_assetmap (standard, pkl_uuid, boost::filesystem::file_size (pkl_path), metadata);
-
list<shared_ptr<CPL> > cpl = cpls ();
for (list<shared_ptr<CPL> >::const_iterator i = cpl.begin(); i != cpl.end(); ++i) {
string const filename = (*i)->id() + "_cpl.xml";
(*i)->write_xml (_directory / filename, standard, metadata, signer);
}
+
+ string const pkl_uuid = make_uuid ();
+ boost::filesystem::path const pkl_path = write_pkl (standard, pkl_uuid, metadata, signer);
+
+ write_volindex (standard);
+ write_assetmap (standard, pkl_uuid, boost::filesystem::file_size (pkl_path), metadata);
}
list<shared_ptr<CPL> >