diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-25 17:18:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-25 17:18:11 +0100 |
| commit | a5901718e3a0ee692d745fd3a6d8f5a49d422a26 (patch) | |
| tree | c211b207f911b12ed4313519956e2d616ef773f1 /src/cpl.cc | |
| parent | 5384418af0299194ecf3e27fd2e443e7d882a713 (diff) | |
Tweak interop / SMPTE to pass dcp_inspect.
Diffstat (limited to 'src/cpl.cc')
| -rw-r--r-- | src/cpl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -218,6 +218,7 @@ CPL::write_xml (bool interop, XMLMetadata const & metadata, shared_ptr<Encryptio root->add_child("Id")->add_child_text ("urn:uuid:" + _id); root->add_child("AnnotationText")->add_child_text (_name); root->add_child("IssueDate")->add_child_text (metadata.issue_date); + root->add_child("Issuer")->add_child_text (metadata.issuer); root->add_child("Creator")->add_child_text (metadata.creator); root->add_child("ContentTitleText")->add_child_text (_name); root->add_child("ContentKind")->add_child_text (content_kind_to_string (_content_kind)); @@ -231,7 +232,7 @@ CPL::write_xml (bool interop, XMLMetadata const & metadata, shared_ptr<Encryptio xmlpp::Node* reel_list = root->add_child ("ReelList"); for (list<shared_ptr<Reel> >::const_iterator i = _reels.begin(); i != _reels.end(); ++i) { - (*i)->write_to_cpl (reel_list); + (*i)->write_to_cpl (reel_list, interop); } if (crypt) { |
