diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-02-13 20:13:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-02-13 20:13:31 +0100 |
| commit | 4320728168bea602527eb101a8094cd95dcfce37 (patch) | |
| tree | 3efbe40244233160005942a76bebfa32ab3ccafc /src/ssa_reader.h | |
| parent | 90d33bef576be879e6ce71f120f070a6b738040c (diff) | |
Factor SSA style parsing out to separate method.
Diffstat (limited to 'src/ssa_reader.h')
| -rw-r--r-- | src/ssa_reader.h | 1 |
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); |
