diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-13 01:45:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-13 01:45:42 +0100 |
| commit | 4c987f7feb504fe4011b52ffeb231e3b25823de1 (patch) | |
| tree | 893c852593830fa5fe5a769bf61fcef86d57b9bf /src/subtitle_asset.cc | |
| parent | c14a05a935886345d4d891a92a31b1c35bf10582 (diff) | |
Basic subtitle test works.
Diffstat (limited to 'src/subtitle_asset.cc')
| -rw-r--r-- | src/subtitle_asset.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc index 19697a7f..ca27d6da 100644 --- a/src/subtitle_asset.cc +++ b/src/subtitle_asset.cc @@ -44,11 +44,14 @@ Font::Font (xmlpp::Node const * node) Subtitle::Subtitle (xmlpp::Node const * node) : XMLNode (node) { + _in = time_attribute ("TimeIn"); + _out = time_attribute ("TimeOut"); _texts = sub_nodes<Text> ("Text"); } Text::Text (xmlpp::Node const * node) : XMLNode (node) { - + _text = content (); + _v_position = float_attribute ("VPosition"); } |
