summaryrefslogtreecommitdiff
path: root/src/lib/subtitle_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-12-13 22:04:49 +0000
committerCarl Hetherington <cth@carlh.net>2017-12-13 22:04:49 +0000
commit6a68937320fa76ce213c648845abc73983fc1849 (patch)
tree542a0426b4a0790f28cce34aef43e52b41e896cf /src/lib/subtitle_decoder.h
parent7b0af48a5861cb58314db46d29b05289979c2c25 (diff)
Setup SubtitleDecoder::_position correctly (in some cases).
Diffstat (limited to 'src/lib/subtitle_decoder.h')
-rw-r--r--src/lib/subtitle_decoder.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/subtitle_decoder.h b/src/lib/subtitle_decoder.h
index 9740b06e8..c1f171b1f 100644
--- a/src/lib/subtitle_decoder.h
+++ b/src/lib/subtitle_decoder.h
@@ -38,14 +38,11 @@ class Image;
class SubtitleDecoder : public DecoderPart
{
public:
- /** Second parameter to the _during functions is true if we
- * want only subtitles that start during the period,
- * otherwise we want subtitles that overlap the period.
- */
SubtitleDecoder (
Decoder* parent,
boost::shared_ptr<const SubtitleContent>,
- boost::shared_ptr<Log> log
+ boost::shared_ptr<Log> log,
+ ContentTime first
);
ContentTime position () const {