diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-14 17:39:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-20 11:20:25 +0000 |
| commit | 3f630fb8334238ab8a58fbe1a0f513ae2c00de80 (patch) | |
| tree | 4b773b91029d6374bfd4f2194053d3e249d597cd /src/subrip_reader.h | |
| parent | 49cafda01b3e07c47e3b20dd5ee91e1426446aea (diff) | |
Simplify time representation; better in-tree DCP subtitle parser.
Diffstat (limited to 'src/subrip_reader.h')
| -rw-r--r-- | src/subrip_reader.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/subrip_reader.h b/src/subrip_reader.h index 9b9ff92..a010f4a 100644 --- a/src/subrip_reader.h +++ b/src/subrip_reader.h @@ -21,7 +21,6 @@ #define LIBSUB_SUBRIP_READER_H #include "reader.h" -#include "time_pair.h" struct subrip_reader_convert_line_test; struct subrip_reader_convert_time_test; @@ -39,8 +38,8 @@ private: friend struct ::subrip_reader_convert_time_test; SubripReader () {} - static TimePair convert_time (std::string t); - void convert_line (std::string t, int line_number, TimePair from, TimePair to); + static Time convert_time (std::string t); + void convert_line (std::string t, int line_number, Time from, Time to); void maybe_content (RawSubtitle& p); }; |
