diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-28 21:49:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-17 12:57:31 +0200 |
| commit | a5adc9221d0af15f345cd3dbc76f37ee47fe65d5 (patch) | |
| tree | 0c53851f161fa38d6d7a081ba3de1fa030048ed2 /src/smpte_text_asset.h | |
| parent | 8e43142645252daeeaccbad7b9f3ed746c4b2382 (diff) | |
Subtitle{,String,Image} -> Text{,String,Image}.
Diffstat (limited to 'src/smpte_text_asset.h')
| -rw-r--r-- | src/smpte_text_asset.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/smpte_text_asset.h b/src/smpte_text_asset.h index b5b95c5d..24665d3a 100644 --- a/src/smpte_text_asset.h +++ b/src/smpte_text_asset.h @@ -70,7 +70,7 @@ class SMPTELoadFontNode; /** @class SMPTETextAsset - * @brief A set of subtitles to be read and/or written in the SMPTE format + * @brief A set of subtitles/captions to be read and/or written in the SMPTE format */ class SMPTETextAsset : public TextAsset, public MXF { @@ -95,7 +95,7 @@ public: /** Write this content to a MXF file */ void write (boost::filesystem::path path) const override; - void add (std::shared_ptr<Subtitle>) override; + void add(std::shared_ptr<Text>) override; void add_font (std::string id, dcp::ArrayData data) override; void set_key (Key key) override; @@ -135,7 +135,7 @@ public: return _intrinsic_duration; } - /** @return title of the film that these subtitles are for, + /** @return title of the film that these subtitles/captions are for, * to be presented to the user */ std::string content_title_text () const { @@ -167,8 +167,8 @@ public: return _edit_rate; } - /** @return subdivision of 1 second that is used for subtitle times; - * e.g. a time_code_rate of 250 means that a subtitle time of 0:0:0:001 + /** @return subdivision of 1 second that is used for text times; + * e.g. a time_code_rate of 250 means that a text time of 0:0:0:001 * represents 4ms. */ int time_code_rate () const override { |
