diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-05-11 13:50:57 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-05-12 22:11:06 +0200 |
| commit | 83d63bb331190db4372de4d0aaf8413c51f1eee4 (patch) | |
| tree | 1fed31a4b045fb1d586b2db445474d2d923b7845 /src/lib/dcp_content.cc | |
| parent | ff02c27b53222592e394d7cde1c904b27a211488 (diff) | |
Handle fonts for ccaps coming from DCP content (#2525).
Not dealing with them calls all sort of chaos as described in the
bug report.
Diffstat (limited to 'src/lib/dcp_content.cc')
| -rw-r--r-- | src/lib/dcp_content.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 7d835e618..e7bef573b 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -276,6 +276,7 @@ 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); } |
