* @ingroup specific
*/
-#include "lib/text_text_content.h"
+#include "lib/plain_text_content.h"
#include "lib/dcp_text_content.h"
#include "lib/film.h"
#include "lib/ratio.h"
film->set_container (Ratio::from_id ("185"));
film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR"));
film->set_name ("frobozz");
- shared_ptr<TextTextContent> content (new TextTextContent (film, "test/data/subrip2.srt"));
+ shared_ptr<PlainText> content (new PlainText (film, "test/data/subrip2.srt"));
content->subtitle->set_use (true);
content->subtitle->set_burn (true);
film->examine_and_add_content (content);
film2->set_name ("frobozz");
shared_ptr<DCPContent> background_dcp (new DCPContent(film2, film->dir(film->dcp_name())));
film2->examine_and_add_content (background_dcp);
- shared_ptr<TextTextContent> sub = dynamic_pointer_cast<TextTextContent> (
+ shared_ptr<PlainText> sub = dynamic_pointer_cast<PlainText> (
content_factory(film2, "test/data/subrip2.srt").front()
);
sub->subtitle->set_burn (true);