X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Freels_test.cc;h=76dbb61ed82e3956a8bce1e9117e652c4f23f99b;hp=a408402c9ae9ced13bdd10315b23bc01d9c77020;hb=df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc;hpb=6f146336b73fe720c83cb75ebdf15e9cb9c02973 diff --git a/test/reels_test.cc b/test/reels_test.cc index a408402c9..76dbb61ed 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/text_caption_file_content.h" +#include "lib/string_text_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 TextCaptionFileContent (film, "test/data/subrip.srt")); + shared_ptr sub (new StringTextFileContent (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 TextCaptionFileContent (film, "test/data/subrip3.srt")); + shared_ptr subs (new StringTextFileContent (film, "test/data/subrip3.srt")); film->examine_and_add_content (subs); wait_for_jobs ();