diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-26 23:02:10 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-21 21:57:18 +0200 |
| commit | 0fa60920228c591f1183149d79c88302d3ce01fb (patch) | |
| tree | afedcb6e3dbae9011e246b21c23839af687939c4 /test/write_subtitle_test.cc | |
| parent | e18addc9029f56c67aa40254bcfa40f8b072866f (diff) | |
Add ContentVersion class.
Diffstat (limited to 'test/write_subtitle_test.cc')
| -rw-r--r-- | test/write_subtitle_test.cc | 4 |
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); |
