diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-12-08 11:23:58 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-12-08 11:23:58 +0000 |
| commit | a28ef704adf8c5bfa45b3d6285f741af64758ceb (patch) | |
| tree | 04c1afa7b6a72f7faabe290d14713d242b867ab1 /src/lib/text_subtitle_decoder.cc | |
| parent | 804f43474bba7008bf68fc9189793c89c512a944 (diff) | |
Further fixes and tidying to 'better-seek'.
This fixes the failure to keep track of the `position' of
each stream of a multi-stream file. It also tidies things
up a bit.
Diffstat (limited to 'src/lib/text_subtitle_decoder.cc')
| -rw-r--r-- | src/lib/text_subtitle_decoder.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/text_subtitle_decoder.cc b/src/lib/text_subtitle_decoder.cc index ec60bd36b..dd64cb5d9 100644 --- a/src/lib/text_subtitle_decoder.cc +++ b/src/lib/text_subtitle_decoder.cc @@ -69,7 +69,6 @@ TextSubtitleDecoder::pass (PassReason, bool) ContentTimePeriod const p = content_time_period (_subtitles[_next]); subtitle->give_text (p, _subtitles[_next]); - subtitle->set_position (p.from); ++_next; return false; |
