#include "lib/player.h"
#include "lib/video_content.h"
#include "lib/image_content.h"
-#include "lib/text_text_content.h"
+#include "lib/text_caption_file_content.h"
#include "lib/content_factory.h"
#include "lib/dcp_content.h"
-#include "lib/text_content.h"
+#include "lib/caption_content.h"
#include "lib/butler.h"
#include "lib/compose.hpp"
#include "test.h"
film->examine_and_add_content (c);
BOOST_REQUIRE (!wait_for_jobs ());
- shared_ptr<TextTextContent> s (new TextTextContent (film, "test/data/subrip.srt"));
+ shared_ptr<TextCaptionFileContent> s (new TextCaptionFileContent (film, "test/data/subrip.srt"));
film->examine_and_add_content (s);
BOOST_REQUIRE (!wait_for_jobs ());
shared_ptr<DCPContent> dcp (new DCPContent (film, private_data / "awkward_subs"));
film->examine_and_add_content (dcp, true);
BOOST_REQUIRE (!wait_for_jobs ());
- dcp->subtitle->set_use (true);
+ dcp->caption->set_use (true);
shared_ptr<Player> player (new Player (film, film->playlist()));
player->set_fast ();
shared_ptr<DCPContent> dcp (new DCPContent (film, private_data / "awkward_subs2"));
film->examine_and_add_content (dcp, true);
BOOST_REQUIRE (!wait_for_jobs ());
- dcp->subtitle->set_use (true);
+ dcp->caption->set_use (true);
shared_ptr<Player> player (new Player (film, film->playlist()));
player->set_fast ();