summaryrefslogtreecommitdiff
path: root/test/dcp_font_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-11 22:24:44 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-12 01:22:10 +0200
commit498806d76160a6b1fa0af58e7734c0f553abf12b (patch)
treec5898dca2e84901ea003decb1f3671226d8e53c9 /test/dcp_font_test.cc
parent7d66bda50ade8ea618f331b885f1bfa4fa0a2af9 (diff)
Specify CPL standard on construction.
Then choose which standard DCP should use based on the CPL(s).
Diffstat (limited to 'test/dcp_font_test.cc')
-rw-r--r--test/dcp_font_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dcp_font_test.cc b/test/dcp_font_test.cc
index 2ac68273..047e0266 100644
--- a/test/dcp_font_test.cc
+++ b/test/dcp_font_test.cc
@@ -66,11 +66,11 @@ BOOST_AUTO_TEST_CASE (interop_dcp_font_test)
auto reel = make_shared<dcp::Reel>();
reel->add (make_shared<dcp::ReelInteropSubtitleAsset>(subs, dcp::Fraction (24, 1), 24, 0));
- auto cpl = make_shared<dcp::CPL>("", dcp::ContentKind::TRAILER);
+ auto cpl = make_shared<dcp::CPL>("", dcp::ContentKind::TRAILER, dcp::Standard::INTEROP);
cpl->add (reel);
dcp.add (cpl);
- dcp.write_xml (dcp::Standard::INTEROP);
+ dcp.write_xml ();
dcp::DCP dcp2 (directory);
dcp2.read ();
@@ -103,11 +103,11 @@ BOOST_AUTO_TEST_CASE (smpte_dcp_font_test)
auto reel = make_shared<dcp::Reel>();
reel->add (make_shared<dcp::ReelSMPTESubtitleAsset>(subs, dcp::Fraction (24, 1), 24, 0));
- auto cpl = make_shared<dcp::CPL>("", dcp::ContentKind::TRAILER);
+ auto cpl = make_shared<dcp::CPL>("", dcp::ContentKind::TRAILER, dcp::Standard::SMPTE);
cpl->add (reel);
dcp.add (cpl);
- dcp.write_xml (dcp::Standard::SMPTE);
+ dcp.write_xml ();
dcp::DCP dcp2 (directory);
dcp2.read ();