diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-29 11:44:05 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-29 11:44:05 +0200 |
| commit | 09860271bb6d03b3937c08bffb4c672697f6d711 (patch) | |
| tree | f6bb9573b687ec7877a5412bf151af9d13676ee0 /src/lib/dcp_examiner.cc | |
| parent | 2d7ba63fdbe2c91a1ca22ffa5b511ec1a2420b29 (diff) | |
Recover information about closed caption tracks when loading DCPsv2.15.93
so that they can be displayed.
Diffstat (limited to 'src/lib/dcp_examiner.cc')
| -rw-r--r-- | src/lib/dcp_examiner.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc index b05ef593b..44513ff45 100644 --- a/src/lib/dcp_examiner.cc +++ b/src/lib/dcp_examiner.cc @@ -190,6 +190,7 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content, bool tolerant) } _text_count[TEXT_CLOSED_CAPTION]++; + _dcp_text_tracks.push_back (DCPTextTrack(j->annotation_text(), j->language().get_value_or(_("Unknown")))); } if (i->main_markers ()) { |
