summaryrefslogtreecommitdiff
path: root/src/subrip_reader.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-04 23:38:20 +0100
committerCarl Hetherington <cth@carlh.net>2016-04-04 23:38:20 +0100
commitb9fb00d333a757db56da53bf74a6bd2cb745e7a6 (patch)
tree7e1f4bb1539dfd483aa6be2eda822157e3ad5a03 /src/subrip_reader.h
parent2ff1d1af9c68423b034d3f14626cf50355c7edfc (diff)
Tidy subrip parsing a bit and fix failure to persist
italic/bold etc. across multiple lines of one subtitle (DCP-o-matic bug #837).
Diffstat (limited to 'src/subrip_reader.h')
-rw-r--r--src/subrip_reader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subrip_reader.h b/src/subrip_reader.h
index e9a9b35..5f5f343 100644
--- a/src/subrip_reader.h
+++ b/src/subrip_reader.h
@@ -45,7 +45,7 @@ private:
SubripReader () {}
static Time convert_time (std::string t);
- void convert_line (std::string t, int line_number, Time from, Time to);
+ void convert_line (std::string t, RawSubtitle& p);
void maybe_content (RawSubtitle& p);
void read (boost::function<boost::optional<std::string> ()> get_line);
};