diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-12-05 01:59:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-12-05 01:59:44 +0100 |
| commit | 751379da4be48f9b911a91cf17686330dd999d0c (patch) | |
| tree | eeb73eebfe9224956e8dde72b127872b23459dd5 /src/lib/analyse_subtitles_job.cc | |
| parent | 138882d651c5fb9d1dc66d092fcca7f3762a1226 (diff) | |
Account for split branch in libdcp.split
Diffstat (limited to 'src/lib/analyse_subtitles_job.cc')
| -rw-r--r-- | src/lib/analyse_subtitles_job.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/analyse_subtitles_job.cc b/src/lib/analyse_subtitles_job.cc index b41990db5..ffc6b3fe2 100644 --- a/src/lib/analyse_subtitles_job.cc +++ b/src/lib/analyse_subtitles_job.cc @@ -115,20 +115,20 @@ AnalyseSubtitlesJob::analyse(PlayerText const& text, TextType type) /* We can provide dummy values for time and frame rate here as they are only used to calculate fades */ dcp::Size const frame = _film->frame_size(); - std::vector<dcp::SubtitleStandard> override_standard; + std::vector<dcp::TextStandard> override_standard; if (_film->interop()) { /* Since the film is Interop there is only one way the vpositions in the subs can be interpreted * (we assume). */ - override_standard.push_back(dcp::SubtitleStandard::INTEROP); + override_standard.push_back(dcp::TextStandard::INTEROP); } else { /* We're using the great new SMPTE standard, which means there are two different ways that vposition * could be interpreted; we will write SMPTE-2014 standard assets, but if the projection system uses * SMPTE 20{07,10} instead they won't be placed how we intended. To show the user this, make the * bounding rectangle enclose both possibilities. */ - override_standard.push_back(dcp::SubtitleStandard::SMPTE_2007); - override_standard.push_back(dcp::SubtitleStandard::SMPTE_2014); + override_standard.push_back(dcp::TextStandard::SMPTE_2007); + override_standard.push_back(dcp::TextStandard::SMPTE_2014); } for (auto standard: override_standard) { |
