X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Freels_test.cc;h=a408402c9ae9ced13bdd10315b23bc01d9c77020;hp=70552a70360eb67bd54d17c842997b1169243bdb;hb=9cb73fbc0fa4643612f01665bc6d9fc430656f32;hpb=c53c3e9f3d08478a391bfa1989772378609af693 diff --git a/test/reels_test.cc b/test/reels_test.cc index 70552a703..a408402c9 100644 --- a/test/reels_test.cc +++ b/test/reels_test.cc @@ -30,7 +30,7 @@ #include "lib/dcp_content_type.h" #include "lib/dcp_content.h" #include "lib/video_content.h" -#include "lib/plain_text_content.h" +#include "lib/text_caption_file_content.h" #include "lib/content_factory.h" #include "test.h" #include @@ -165,7 +165,7 @@ BOOST_AUTO_TEST_CASE (reels_test3) shared_ptr dcp (new DCPContent (film, "test/data/reels_test2")); film->examine_and_add_content (dcp); - shared_ptr sub (new PlainTextContent (film, "test/data/subrip.srt")); + shared_ptr sub (new TextCaptionFileContent (film, "test/data/subrip.srt")); film->examine_and_add_content (sub); wait_for_jobs (); @@ -206,7 +206,7 @@ BOOST_AUTO_TEST_CASE (reels_test4) content[i]->video->set_length (24); } - shared_ptr subs (new PlainTextContent (film, "test/data/subrip3.srt")); + shared_ptr subs (new TextCaptionFileContent (film, "test/data/subrip3.srt")); film->examine_and_add_content (subs); wait_for_jobs ();