diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-19 01:09:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:45:19 +0100 |
| commit | c53c3e9f3d08478a391bfa1989772378609af693 (patch) | |
| tree | 34a1ebe4b00e50b2a589a552ce8e88be63967c8f /src/lib/plain_text_decoder.cc | |
| parent | a8cd625da7064816fc890d458c0d4e2dc04ba796 (diff) | |
More renaming.
Diffstat (limited to 'src/lib/plain_text_decoder.cc')
| -rw-r--r-- | src/lib/plain_text_decoder.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/plain_text_decoder.cc b/src/lib/plain_text_decoder.cc index 46a4bd552..005d30669 100644 --- a/src/lib/plain_text_decoder.cc +++ b/src/lib/plain_text_decoder.cc @@ -34,8 +34,8 @@ using boost::shared_ptr; using boost::optional; using boost::dynamic_pointer_cast; -TextTextDecoder::TextTextDecoder (shared_ptr<const PlainText> content, shared_ptr<Log> log) - : TextSubtitle (content) +PlainTextDecoder::PlainTextDecoder (shared_ptr<const PlainTextContent> content, shared_ptr<Log> log) + : PlainText (content) , _next (0) { ContentTime first; @@ -46,7 +46,7 @@ TextTextDecoder::TextTextDecoder (shared_ptr<const PlainText> content, shared_pt } void -TextTextDecoder::seek (ContentTime time, bool accurate) +PlainTextDecoder::seek (ContentTime time, bool accurate) { /* It's worth back-tracking a little here as decoding is cheap and it's nice if we don't miss too many subtitles when seeking. @@ -65,7 +65,7 @@ TextTextDecoder::seek (ContentTime time, bool accurate) } bool -TextTextDecoder::pass () +PlainTextDecoder::pass () { if (_next >= _subtitles.size ()) { return true; @@ -79,7 +79,7 @@ TextTextDecoder::pass () } ContentTimePeriod -TextTextDecoder::content_time_period (sub::Subtitle s) const +PlainTextDecoder::content_time_period (sub::Subtitle s) const { return ContentTimePeriod ( ContentTime::from_seconds (s.from.all_as_seconds()), |
