X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Freels_test.cc;h=9a915ab2b11cdee1062d50f89b038730426f6ed6;hb=507a389e9c5f84ec1d51e7566e38fbf42f658537;hp=70552a70360eb67bd54d17c842997b1169243bdb;hpb=491176352b80bea000564e6662738722185be721;p=dcpomatic.git diff --git a/test/reels_test.cc b/test/reels_test.cc index 70552a703..9a915ab2b 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/plain_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 PlainTextContent (film, "test/data/subrip.srt")); + shared_ptr sub (new PlainTextFileContent (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 PlainTextFileContent (film, "test/data/subrip3.srt")); film->examine_and_add_content (subs); wait_for_jobs ();