diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-26 23:02:10 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-20 19:30:46 +0200 |
| commit | cf2dbbcddaeb0efdc81fb096aed53375692ccb67 (patch) | |
| tree | 56e5a4b122377b09f9e6bd86dddcc93765905a76 /test/write_subtitle_test.cc | |
| parent | b3dc4d260bc839e677013b620f70be867bd97905 (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); |
