summaryrefslogtreecommitdiff
path: root/test/subtitle_reel_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/subtitle_reel_test.cc')
-rw-r--r--test/subtitle_reel_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/subtitle_reel_test.cc b/test/subtitle_reel_test.cc
index 875fb51fe..3b8f236ba 100644
--- a/test/subtitle_reel_test.cc
+++ b/test/subtitle_reel_test.cc
@@ -242,7 +242,7 @@ BOOST_AUTO_TEST_CASE(bad_subtitle_not_created_at_reel_boundaries)
film->set_reel_type(ReelType::CUSTOM);
content->text[0]->set_language(dcp::LanguageTag("de"));
/* This is 1 frame after the start of the subtitle */
- film->set_custom_reel_boundaries({dcpomatic::DCPTime::from_frames(241, 24)});
+ film->set_custom_reel_boundaries({dcpomatic::DCPTime(241, 24)});
/* This is a tricky situation and the way DoM deals with it gives two Bv2.1
* warnings, but these are "should" not "shall" so I think it's OK.