Rename SubRip -> TextSubtitle.
[dcpomatic.git] / test / subrip_test.cc
index e18ee2ea564d20c19988659771b96dd4fbc68aea..d443a416daa7ae752f18650e1d5a544416ee2445 100644 (file)
@@ -39,8 +39,8 @@ using boost::dynamic_pointer_cast;
 BOOST_AUTO_TEST_CASE (subrip_render_test)
 {
        shared_ptr<Film> film = new_test_film ("subrip_render_test");
-       shared_ptr<SubRipContent> content (new SubRipContent (film, "test/data/subrip.srt"));
-       content->examine (shared_ptr<Job> ());
+       shared_ptr<TextSubtitleContent> content (new TextSubtitleContent (film, "test/data/subrip.srt"));
+       content->examine (shared_ptr<Job> (), true);
        BOOST_CHECK_EQUAL (content->full_length(), DCPTime::from_seconds ((3 * 60) + 56.471));
 
        shared_ptr<SubRipDecoder> decoder (new SubRipDecoder (content));