diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-28 00:44:36 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-28 00:44:36 +0000 |
| commit | d88c2244d4f90d54164fcc856c3ba73809756381 (patch) | |
| tree | 9e330e066c2318ed1b162df6946affc94ee06a81 /src/dcp.cc | |
| parent | 04b4d9f08ee30eb4dc4e62cddc4b332c69d18ac0 (diff) | |
Various test fixes.
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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> > |
