diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-20 23:43:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-24 16:59:24 +0100 |
| commit | 816a7b7a9d9c3cae7565cec139bf28068853f94d (patch) | |
| tree | 718644b178b68fd03e2b1ea18c7bec96da5de4e4 /src/lib/subtitle_film_encoder.cc | |
| parent | e93b66f4236ec25dbd0603bbe74c904b53180e91 (diff) | |
Basic support for variable-Z 3D subtitles.
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 a127ba73f..2de74bc67 100644 --- a/src/lib/subtitle_film_encoder.cc +++ b/src/lib/subtitle_film_encoder.cc @@ -145,7 +145,7 @@ SubtitleFilmEncoder::text(PlayerText subs, TextType type, optional<DCPTextTrack> auto s = make_shared<dcp::InteropTextAsset>(); s->set_movie_title (_film->name()); if (lang.first) { - s->set_language (lang.first->to_string()); + s->set_language(lang.first->as_string()); } s->set_reel_number(fmt::to_string(_reel_index + 1)); _assets[_reel_index].first = s; |
