diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-29 11:44:05 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-08-02 21:48:32 +0000 |
| commit | 768287d3b8fff495f5b86ae9cea750bff7652fe2 (patch) | |
| tree | fa3f271a249523cdd7c71e55b7a83a0e515edcfe /src/lib/dcp_examiner.cc | |
| parent | 5fa8671eb5515a534d3971c249337303cab67740 (diff) | |
Recover information about closed caption tracks when loading DCPs
so that they can be displayed.
Cherry-picked from 09860271bb6d03b3937c08bffb4c672697f6d711 in v2.15.x.
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 c70d8b2db..31c80f724 100644 --- a/src/lib/dcp_examiner.cc +++ b/src/lib/dcp_examiner.cc @@ -181,6 +181,7 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content) } _text_count[TEXT_CLOSED_CAPTION]++; + _dcp_text_tracks.push_back (DCPTextTrack(j->annotation_text(), j->language().get_value_or(_("Unknown")))); } if (i->main_picture()) { |
