projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a0138
)
Add some setters.
author
Carl Hetherington
<cth@carlh.net>
Mon, 8 Jun 2015 14:06:04 +0000
(15:06 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 8 Jun 2015 14:06:04 +0000
(15:06 +0100)
src/smpte_subtitle_asset.h
patch
|
blob
|
history
diff --git
a/src/smpte_subtitle_asset.h
b/src/smpte_subtitle_asset.h
index cd68f44bfd09cc64f91d19c83522692467d9d68f..3fb2571a0a02e7a7c19bb68d29536cf9a38053f2 100644
(file)
--- 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.
*/