Supporter.
[dcpomatic.git] / test / subrip_test.cc
index cd517cfe9492026a9d88fe345e21d0ab0d09e8ff..d443a416daa7ae752f18650e1d5a544416ee2445 100644 (file)
@@ -39,7 +39,7 @@ 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"));
+       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));