diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-12 23:14:06 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-09-12 23:14:06 +0200 |
| commit | 960c69dcaef94e0e4fbbaa9721d5ea6a4a744726 (patch) | |
| tree | 1e79d9fef25fcbfc02b74a4aeb8f00682a2165d3 /src/lib/film.h | |
| parent | 919220417db76c90e417144dbc8c31493561da11 (diff) | |
Add Film::closed_caption_languages().
Diffstat (limited to 'src/lib/film.h')
| -rw-r--r-- | src/lib/film.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/film.h b/src/lib/film.h index 22b58f746..5c230614d 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -192,6 +192,8 @@ public: /** @return pair containing the main subtitle language, and additional languages */ std::pair<boost::optional<dcp::LanguageTag>, std::vector<dcp::LanguageTag>> subtitle_languages () const; + /** @return all closed caption languages in the film */ + std::vector<dcp::LanguageTag> closed_caption_languages() const; std::string content_summary (dcpomatic::DCPTimePeriod period) const; |
