summaryrefslogtreecommitdiff
path: root/src/subrip_reader.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-09-20 21:07:57 +0100
committerCarl Hetherington <cth@carlh.net>2016-09-20 21:07:57 +0100
commit79e49c267f3e51126ad7d6c936de2da5455a9894 (patch)
tree3dccc85f0017c88e69d7a192769c7ae26a6e027e /src/subrip_reader.h
parentf36f586f6e66c7b9414f49524a7c565b7ccce4cc (diff)
Give a more informative exception on SubRip parse failures.
Diffstat (limited to 'src/subrip_reader.h')
-rw-r--r--src/subrip_reader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/subrip_reader.h b/src/subrip_reader.h
index 5f5f343..138d703 100644
--- a/src/subrip_reader.h
+++ b/src/subrip_reader.h
@@ -44,10 +44,12 @@ private:
friend struct ::subrip_reader_convert_time_test;
SubripReader () {}
- static Time convert_time (std::string t);
+ Time convert_time (std::string t);
void convert_line (std::string t, RawSubtitle& p);
void maybe_content (RawSubtitle& p);
void read (boost::function<boost::optional<std::string> ()> get_line);
+
+ std::list<std::string> _context;
};
}