summaryrefslogtreecommitdiff
path: root/test/dcp_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-04 01:02:16 +0100
committerCarl Hetherington <cth@carlh.net>2026-03-04 01:02:16 +0100
commit7fce30aad85f04276a7695b1daf8ffb9fdd267b5 (patch)
tree0cd2ef7c85bcec1d86bc9b930f9e7d9ceb19abf3 /test/dcp_subtitle_test.cc
parente310b50c80eb218ea296483ddfac0859c9c5ab80 (diff)
Cleanup: rename PlainStart -> StringStart.
Diffstat (limited to 'test/dcp_subtitle_test.cc')
-rw-r--r--test/dcp_subtitle_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dcp_subtitle_test.cc b/test/dcp_subtitle_test.cc
index 3888a7b53..984dfac95 100644
--- a/test/dcp_subtitle_test.cc
+++ b/test/dcp_subtitle_test.cc
@@ -107,7 +107,7 @@ BOOST_AUTO_TEST_CASE (dcp_subtitle_within_dcp_test)
auto film = new_test_film("dcp_subtitle_within_dcp_test", { content });
auto decoder = make_shared<DCPDecoder>(film, content, false, false, shared_ptr<DCPDecoder>());
- decoder->only_text()->PlainStart.connect (bind (store, _1));
+ decoder->only_text()->StringStart.connect(bind(store, _1));
stored = optional<ContentStringText> ();
while (!decoder->pass() && !stored) {}
@@ -125,7 +125,7 @@ BOOST_AUTO_TEST_CASE (dcp_subtitle_test2)
auto film = new_test_film("dcp_subtitle_test2", { content });
auto decoder = make_shared<DCPSubtitleDecoder>(film, content);
- decoder->only_text()->PlainStart.connect (bind (store, _1));
+ decoder->only_text()->StringStart.connect(bind(store, _1));
stored = optional<ContentStringText> ();
while (!decoder->pass()) {
@@ -150,7 +150,7 @@ BOOST_AUTO_TEST_CASE (dcp_subtitle_test3)
auto decoder = make_shared<DCPSubtitleDecoder>(film, content);
stored = optional<ContentStringText> ();
while (!decoder->pass ()) {
- decoder->only_text()->PlainStart.connect (bind (store, _1));
+ decoder->only_text()->StringStart.connect(bind(store, _1));
if (stored && stored->from() == ContentTime::from_seconds(0.08)) {
auto s = stored->subs;
auto i = s.begin ();