Fix incorrect type name.
authorCarl Hetherington <cth@carlh.net>
Fri, 20 Jul 2018 12:48:37 +0000 (13:48 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 20 Jul 2018 12:48:37 +0000 (13:48 +0100)
test/subtitle_charset_test.cc

index b15e3e70e403100e14d0b6aa329e89bab951b7a3..3c2407f7ead62d8f1de15fc9335b5365d0e3f745 100644 (file)
@@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE (subtitle_charset_test2)
        shared_ptr<Content> content = content_factory (film, "test/data/osx.srt").front ();
        film->examine_and_add_content (content);
        BOOST_REQUIRE (!wait_for_jobs ());
-       shared_ptr<TextCaptionFile> ts = dynamic_pointer_cast<TextCaptionFile> (content);
+       shared_ptr<TextCaptionFileContent> ts = dynamic_pointer_cast<TextCaptionFileContent> (content);
        BOOST_REQUIRE (ts);
        /* Make sure we got the subtitle data from the file */
        BOOST_REQUIRE_EQUAL (content->full_length().get(), 6052032);