summaryrefslogtreecommitdiff
path: root/src/lib/film.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-11 23:18:39 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-12 02:06:50 +0100
commitacd284575bdc4b3449ebffb7b674ae1bf9a0d959 (patch)
tree2cd91df2b1a1adb9fd73b9777039f8b10d01b70e /src/lib/film.h
parent573d8ffc23d27f67d84b320ca8707e8ebd0a5171 (diff)
Rename closed_caption_languages() -> closed_text_languages().
Also make it return closed captions as well as closed subtitles.
Diffstat (limited to 'src/lib/film.h')
-rw-r--r--src/lib/film.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/film.h b/src/lib/film.h
index f095023a3..6f02a96e6 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -181,8 +181,8 @@ public:
* @return pair containing the main open subtitle/caption language, and additional languages
*/
std::pair<boost::optional<dcp::LanguageTag>, std::vector<dcp::LanguageTag>> open_text_languages(bool* burnt_in = nullptr) const;
- /** @return all closed caption languages in the film */
- std::vector<dcp::LanguageTag> closed_caption_languages() const;
+ /** @return all closed subtitle/caption languages in the film */
+ std::vector<dcp::LanguageTag> closed_text_languages() const;
std::string content_summary (dcpomatic::DCPTimePeriod period) const;