From f8af3b485c3dcda1faa6b9df075fa8fef683756c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 15 Feb 2016 23:17:40 +0000 Subject: Use parse_line to parse all SSA subs. --- src/ssa_reader.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/ssa_reader.cc b/src/ssa_reader.cc index b56d429..bac893b 100644 --- a/src/ssa_reader.cc +++ b/src/ssa_reader.cc @@ -301,11 +301,11 @@ SSAReader::read (function ()> get_line) sub.vertical_position.line = 0; } else if (event_format[i] == "Text") { - sub.text = event[i]; + BOOST_FOREACH (sub::RawSubtitle j, parse_line (sub, event[i])) { + _subs.push_back (j); + } } } - - _subs.push_back (sub); } } -- cgit v1.2.3