diff options
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"); } |
