summaryrefslogtreecommitdiff
path: root/test/write_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-26 23:02:10 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-21 21:57:18 +0200
commit0fa60920228c591f1183149d79c88302d3ce01fb (patch)
treeafedcb6e3dbae9011e246b21c23839af687939c4 /test/write_subtitle_test.cc
parente18addc9029f56c67aa40254bcfa40f8b072866f (diff)
Add ContentVersion class.
Diffstat (limited to 'test/write_subtitle_test.cc')
-rw-r--r--test/write_subtitle_test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/write_subtitle_test.cc b/test/write_subtitle_test.cc
index 808df31b..0a6e6a82 100644
--- a/test/write_subtitle_test.cc
+++ b/test/write_subtitle_test.cc
@@ -372,7 +372,9 @@ BOOST_AUTO_TEST_CASE (write_interop_subtitle_test3)
cpl->set_creator (creator);
cpl->set_issue_date (issue_date);
cpl->set_annotation_text (annotation_text);
- cpl->set_content_version_label_text ("foo");
+ dcp::ContentVersion cv = cpl->content_version ();
+ cv.label_text = "foo";
+ cpl->set_content_version (cv);
dcp::DCP dcp ("build/test/write_interop_subtitle_test3");
dcp.add (cpl);