summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index 805955b9d..8a04ec9f2 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -37,6 +37,7 @@ class Options;
class Image;
class Log;
class DelayLine;
+class TimedSubtitle;
class Subtitle;
/** @class Decoder.
@@ -103,7 +104,7 @@ protected:
void process_video (AVFrame *);
void process_audio (uint8_t *, int);
- void process_subtitle (boost::shared_ptr<Subtitle>);
+ void process_subtitle (boost::shared_ptr<TimedSubtitle>);
/** our FilmState */
boost::shared_ptr<const FilmState> _fs;
@@ -140,7 +141,7 @@ private:
*/
int64_t _audio_frames_processed;
- boost::shared_ptr<Subtitle> _subtitle;
+ boost::shared_ptr<TimedSubtitle> _timed_subtitle;
};
#endif