summaryrefslogtreecommitdiff
path: root/test/dcp_font_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-04 00:15:08 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-17 12:57:31 +0200
commit3400e2d9ca9176289b581e72eac493909a0bbce1 (patch)
treecd3e53b7c1baeed3992f4c36d25dea21128fbf91 /test/dcp_font_test.cc
parent54b46b7630c06044a121d70d9035384126f6e7b3 (diff)
Rename TextType::SUBTITLE -> OPEN_SUBTITLE and CAPTION -> CLOSED_CAPTION.
Diffstat (limited to 'test/dcp_font_test.cc')
-rw-r--r--test/dcp_font_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dcp_font_test.cc b/test/dcp_font_test.cc
index ffc638d5..fe06a2f8 100644
--- a/test/dcp_font_test.cc
+++ b/test/dcp_font_test.cc
@@ -66,7 +66,7 @@ BOOST_AUTO_TEST_CASE (interop_dcp_font_test)
check_file ("test/data/dummy.ttf", "build/test/interop_dcp_font_test/font_0.ttf");
auto reel = make_shared<dcp::Reel>();
- reel->add(make_shared<dcp::ReelInteropTextAsset>(dcp::TextType::SUBTITLE, subs, dcp::Fraction (24, 1), 24, 0));
+ reel->add(make_shared<dcp::ReelInteropTextAsset>(dcp::TextType::OPEN_SUBTITLE, subs, dcp::Fraction (24, 1), 24, 0));
auto cpl = make_shared<dcp::CPL>("", dcp::ContentKind::TRAILER, dcp::Standard::INTEROP);
cpl->add (reel);
@@ -103,7 +103,7 @@ BOOST_AUTO_TEST_CASE (smpte_dcp_font_test)
subs->write (directory / "frobozz.mxf");
auto reel = make_shared<dcp::Reel>();
- reel->add(make_shared<dcp::ReelSMPTETextAsset>(dcp::TextType::SUBTITLE, subs, dcp::Fraction (24, 1), 24, 0));
+ reel->add(make_shared<dcp::ReelSMPTETextAsset>(dcp::TextType::OPEN_SUBTITLE, subs, dcp::Fraction (24, 1), 24, 0));
auto cpl = make_shared<dcp::CPL>("", dcp::ContentKind::TRAILER, dcp::Standard::SMPTE);
cpl->add (reel);