diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-26 01:02:43 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-26 01:02:43 +0200 |
| commit | dbf2fbd90051f646ed827505ed1523f9449373f5 (patch) | |
| tree | d35e9ea8a2b24eea4f6b3ff4e150ae16ffad8488 /src/lib/dcp_examiner.cc | |
| parent | dea555a6d395e74c20436123a5f3b5bd623ebcf6 (diff) | |
Provide a similar fix to the one in ff639b3cf30afcc097bfd21d39c8d15f466cadd6
for DCPs that contain subtitle files without <Font> tags.
Diffstat (limited to 'src/lib/dcp_examiner.cc')
| -rw-r--r-- | src/lib/dcp_examiner.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc index 5de8c8905..0cfe499a3 100644 --- a/src/lib/dcp_examiner.cc +++ b/src/lib/dcp_examiner.cc @@ -252,6 +252,10 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content, bool tolerant) _reel_lengths.push_back (i->atmos()->actual_duration()); } + if (reel_fonts.empty()) { + reel_fonts.push_back(make_shared<dcpomatic::Font>("")); + } + _fonts.push_back(reel_fonts); } |
