Don't write fonts to closed caption assets, even if we have some (re-fixing #2505).
[dcpomatic.git] / src / lib / dcp_content.cc
index 87e59de50bc7ca27a14bfcde1d39b109b4e45429..8f286c5c05af0fee39b91c3298a42395e2864c9d 100644 (file)
@@ -278,7 +278,6 @@ DCPContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job)
        for (int i = 0; i < examiner->text_count(TextType::CLOSED_CAPTION); ++i) {
                auto c = make_shared<TextContent>(this, TextType::CLOSED_CAPTION, TextType::CLOSED_CAPTION);
                c->set_dcp_track (examiner->dcp_text_track(i));
-               add_fonts_from_examiner(c, examiner->fonts());
                new_text.push_back (c);
        }