diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-15 23:42:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-15 23:42:19 +0100 |
| commit | 63b7da59cee71ab2ade744a8b547b5d8f2ff6bfc (patch) | |
| tree | 6e107ab63deff4e5e8b5a462f767e6ed4685cbdb /src/lib/decoder.h | |
| parent | bd9906422fe59126a27a3002b2bb4ce497eef508 (diff) | |
Clean up subtitle classes a bit.
Diffstat (limited to 'src/lib/decoder.h')
| -rw-r--r-- | src/lib/decoder.h | 5 |
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 |
