summaryrefslogtreecommitdiff
path: root/src/lib/film.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-11 23:04:57 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-12 02:06:50 +0100
commit20c749bb5aee7a12d6a4365bc35fee01b9810fe3 (patch)
tree71b6e2894281d0c0e5109b5161bf3441aa46072b /src/lib/film.h
parent5d9b8579950a4440b43a649c27fa36082144773d (diff)
Rename subtitle_languages() -> open_text_languages().
Also make it return open captions as well as open subtitles (#2941).
Diffstat (limited to 'src/lib/film.h')
-rw-r--r--src/lib/film.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/film.h b/src/lib/film.h
index 648d9828b..f095023a3 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -177,10 +177,10 @@ public:
return _audio_language;
}
- /** @param burnt_in If non-null, filled with true if all subtitles are burnt in, otherwise false.
- * @return pair containing the main subtitle language, and additional languages
+ /** @param burnt_in If non-null, filled with true if all open subtitles/captions are burnt in, otherwise false.
+ * @return pair containing the main open subtitle/caption language, and additional languages
*/
- std::pair<boost::optional<dcp::LanguageTag>, std::vector<dcp::LanguageTag>> subtitle_languages(bool* burnt_in = nullptr) const;
+ 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;