summaryrefslogtreecommitdiff
path: root/src/ssa_reader.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-02-13 20:13:31 +0100
committerCarl Hetherington <cth@carlh.net>2020-02-13 20:13:31 +0100
commit4320728168bea602527eb101a8094cd95dcfce37 (patch)
tree3efbe40244233160005942a76bebfa32ab3ccafc /src/ssa_reader.h
parent90d33bef576be879e6ce71f120f070a6b738040c (diff)
Factor SSA style parsing out to separate method.
Diffstat (limited to 'src/ssa_reader.h')
-rw-r--r--src/ssa_reader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ssa_reader.h b/src/ssa_reader.h
index ee1b178..aba06cc 100644
--- a/src/ssa_reader.h
+++ b/src/ssa_reader.h
@@ -42,6 +42,7 @@ public:
SSAReader (std::string subs);
static std::list<RawSubtitle> parse_line (RawSubtitle base, std::string line, int play_res_x, int play_res_y);
+ static void parse_style (RawSubtitle& sub, std::string style, int play_res_x, int play_res_y);
private:
void read (boost::function<boost::optional<std::string> ()> get_line);