diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-11 22:24:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-12 01:22:10 +0200 |
| commit | 498806d76160a6b1fa0af58e7734c0f553abf12b (patch) | |
| tree | c5898dca2e84901ea003decb1f3671226d8e53c9 /test/write_subtitle_test.cc | |
| parent | 7d66bda50ade8ea618f331b885f1bfa4fa0a2af9 (diff) | |
Specify CPL standard on construction.
Then choose which standard DCP should use based on the CPL(s).
Diffstat (limited to 'test/write_subtitle_test.cc')
| -rw-r--r-- | test/write_subtitle_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/write_subtitle_test.cc b/test/write_subtitle_test.cc index f7c9ae25..04374dea 100644 --- a/test/write_subtitle_test.cc +++ b/test/write_subtitle_test.cc @@ -368,7 +368,7 @@ BOOST_AUTO_TEST_CASE (write_interop_subtitle_test3) string const creator = "libdcp"; string const annotation_text = "Created by libdcp"; - auto cpl = make_shared<dcp::CPL>("My film", dcp::ContentKind::FEATURE); + auto cpl = make_shared<dcp::CPL>("My film", dcp::ContentKind::FEATURE, dcp::Standard::INTEROP); cpl->add (reel); cpl->set_issuer (issuer); cpl->set_creator (creator); @@ -381,7 +381,7 @@ BOOST_AUTO_TEST_CASE (write_interop_subtitle_test3) dcp::DCP dcp ("build/test/write_interop_subtitle_test3"); dcp.add (cpl); - dcp.write_xml (dcp::Standard::INTEROP, issuer, creator, issue_date, annotation_text); + dcp.write_xml (issuer, creator, issue_date, annotation_text); check_xml ( dcp::file_to_string("test/ref/write_interop_subtitle_test3/subs.xml"), |
