diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-23 15:10:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-23 15:10:11 +0100 |
| commit | a5c629cb9b638b67a0e4c2d26fe9ab2e124bf0eb (patch) | |
| tree | 6cd463704f413259516e2888704272a371a108a6 /src/lib/dcp_examiner.cc | |
| parent | df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc (diff) | |
Tidy up after mass rename.
Diffstat (limited to 'src/lib/dcp_examiner.cc')
| -rw-r--r-- | src/lib/dcp_examiner.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc index 6b4f854f8..4b9238e5b 100644 --- a/src/lib/dcp_examiner.cc +++ b/src/lib/dcp_examiner.cc @@ -65,8 +65,8 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content) { shared_ptr<dcp::CPL> cpl; - for (int i = 0; i < CAPTION_COUNT; ++i) { - _has_caption[i] = false; + for (int i = 0; i < TEXT_COUNT; ++i) { + _has_text[i] = false; } if (content->cpl ()) { @@ -169,7 +169,7 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content) return; } - _has_caption[CAPTION_OPEN] = true; + _has_text[TEXT_OPEN_SUBTITLE] = true; } if (i->closed_caption ()) { @@ -179,7 +179,7 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content) return; } - _has_caption[CAPTION_CLOSED] = true; + _has_text[TEXT_CLOSED_CAPTION] = true; } if (i->main_picture()) { |
