diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-11 23:04:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-12 02:06:50 +0100 |
| commit | 20c749bb5aee7a12d6a4365bc35fee01b9810fe3 (patch) | |
| tree | 71b6e2894281d0c0e5109b5161bf3441aa46072b /src/lib/subtitle_film_encoder.cc | |
| parent | 5d9b8579950a4440b43a649c27fa36082144773d (diff) | |
Rename subtitle_languages() -> open_text_languages().
Also make it return open captions as well as open subtitles (#2941).
Diffstat (limited to 'src/lib/subtitle_film_encoder.cc')
| -rw-r--r-- | src/lib/subtitle_film_encoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/subtitle_film_encoder.cc b/src/lib/subtitle_film_encoder.cc index c9520bf0b..a127ba73f 100644 --- a/src/lib/subtitle_film_encoder.cc +++ b/src/lib/subtitle_film_encoder.cc @@ -140,7 +140,7 @@ SubtitleFilmEncoder::text(PlayerText subs, TextType type, optional<DCPTextTrack> if (!_assets[_reel_index].first) { shared_ptr<dcp::TextAsset> asset; - auto lang = _film->subtitle_languages (); + auto const lang = _film->open_text_languages(); if (_film->interop ()) { auto s = make_shared<dcp::InteropTextAsset>(); s->set_movie_title (_film->name()); |
