Try to fix centos 6/7 build.
[dcpomatic.git] / test / burnt_subtitle_test.cc
index f861370b459ab5f25ae788c37f04e1ec4560cab9..fc5b885780d11dc71d9b6b36b0449b3efd8b06fa 100644 (file)
  */
 
 #include <boost/test/unit_test.hpp>
-#include "lib/subrip_content.h"
+#include "lib/text_subtitle_content.h"
 #include "lib/dcp_subtitle_content.h"
 #include "lib/film.h"
 #include "lib/ratio.h"
 #include "lib/dcp_content_type.h"
 #include "test.h"
+#include <iostream>
 
 using std::cout;
 using boost::shared_ptr;
@@ -39,7 +40,7 @@ BOOST_AUTO_TEST_CASE (burnt_subtitle_test_subrip)
        film->set_container (Ratio::from_id ("185"));
        film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR"));
        film->set_name ("frobozz");
-       shared_ptr<SubRipContent> content (new SubRipContent (film, "test/data/subrip2.srt"));
+       shared_ptr<TextSubtitleContent> content (new TextSubtitleContent (film, "test/data/subrip2.srt"));
        content->set_use_subtitles (true);
        content->set_burn_subtitles (true);
        film->examine_and_add_content (content, true);