summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-08 15:06:04 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-08 15:06:04 +0100
commit656519fb0028c90fd16c1cc13103177ccd52664d (patch)
treea4e224022c07c442d4be6800f8a4a31e25869ef0 /src
parent33a0138bd11b90472a5af86abb3637580b4f3c7f (diff)
Add some setters.
Diffstat (limited to 'src')
-rw-r--r--src/smpte_subtitle_asset.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/smpte_subtitle_asset.h b/src/smpte_subtitle_asset.h
index cd68f44b..3fb2571a 100644
--- a/src/smpte_subtitle_asset.h
+++ b/src/smpte_subtitle_asset.h
@@ -54,6 +54,22 @@ public:
Glib::ustring xml_as_string () const;
void write (boost::filesystem::path path) const;
+ void set_content_title_text (std::string t) {
+ _content_title_text = t;
+ }
+
+ void set_language (std::string l) {
+ _language = l;
+ }
+
+ void set_edit_rate (Fraction e) {
+ _edit_rate = e;
+ }
+
+ void set_time_code_rate (int t) {
+ _time_code_rate = t;
+ }
+
/** @return title of the film that these subtitles are for,
* to be presented to the user.
*/