diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-05 11:18:01 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-05 11:18:01 +0000 |
| commit | 9acb2e83ed4a39ece8d39dd479c160b79b02d7ab (patch) | |
| tree | 9c597f01f907846b7c67fc72af07fad8ea4e72a5 /src/dcp.cc | |
| parent | 78c94420750c505e59d584c34b33acc953946c2a (diff) | |
Tidy up metadata handling.
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -322,6 +322,11 @@ DCP::write_assetmap (Standard standard, string pkl_uuid, int pkl_length, XMLMeta doc.write_to_file (p.string (), "UTF-8"); } +/** Write all the XML files for this DCP. + * @param standand INTEROP or SMPTE. + * @param metadata Metadata to use for PKL and asset map files. + * @param signer Signer to use, or 0. + */ void DCP::write_xml ( Standard standard, @@ -332,7 +337,7 @@ DCP::write_xml ( 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); + (*i)->write_xml (_directory / filename, standard, signer); } string const pkl_uuid = make_uuid (); |
