summaryrefslogtreecommitdiff
path: root/test/write_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-19 16:36:09 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-20 19:27:16 +0200
commitf9078ac398e0765e39f503cdc5bed406d45e0c36 (patch)
tree1de45d4abb3f85c2be4c8faa07a1c7507cd682a3 /test/write_subtitle_test.cc
parent98e49fbf5e7d815654c9187db19a91bd8e575336 (diff)
Stop using XMLMetadata in CPL. It's always felt a bit clumsy, and
with the CPL metadata extension having a method like set_metadata() in CPL will be confusing.
Diffstat (limited to 'test/write_subtitle_test.cc')
-rw-r--r--test/write_subtitle_test.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/write_subtitle_test.cc b/test/write_subtitle_test.cc
index dd51d919..266a1039 100644
--- a/test/write_subtitle_test.cc
+++ b/test/write_subtitle_test.cc
@@ -369,7 +369,10 @@ BOOST_AUTO_TEST_CASE (write_interop_subtitle_test3)
shared_ptr<dcp::CPL> cpl (new dcp::CPL ("My film", dcp::FEATURE));
cpl->add (reel);
- cpl->set_metadata (xml_meta);
+ cpl->set_issuer (xml_meta.issuer);
+ cpl->set_creator (xml_meta.creator);
+ cpl->set_issue_date (xml_meta.issue_date);
+ cpl->set_annotation_text (xml_meta.annotation_text);
cpl->set_content_version_label_text ("foo");
dcp::DCP dcp ("build/test/write_interop_subtitle_test3");