diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-11 01:05:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-18 11:50:29 +0100 |
| commit | 49a1e2a600bd7b9d2d4a926256378e6134704a1a (patch) | |
| tree | 4251de8d16e5b994569a1367e1b56f7e95719c27 /src/lib/subtitle_decoder.cc | |
| parent | 5487e9d12cd84f1dbe976ec022a4ddd4c3f52cd2 (diff) | |
Fix seek, for video at least.
Diffstat (limited to 'src/lib/subtitle_decoder.cc')
| -rw-r--r-- | src/lib/subtitle_decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/subtitle_decoder.cc b/src/lib/subtitle_decoder.cc index f182c53e5..2da4b7a34 100644 --- a/src/lib/subtitle_decoder.cc +++ b/src/lib/subtitle_decoder.cc @@ -74,7 +74,7 @@ SubtitleDecoder::get (list<T> const & subs, list<ContentTimePeriod> const & sp, /* Seek if what we want is before what we have, or a more than a little bit after */ if (subs.empty() || sp.back().to < subs.front().period().from || sp.front().from > (subs.back().period().to + ContentTime::from_seconds (1))) { - seek (sp.front().from, true); + _parent->seek (sp.front().from, true); } /* Now enough pass() calls will either: |
