diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-12 23:34:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-12 23:34:31 +0100 |
| commit | 41d32a43f761fd2d79dacf9a84374a6d17916d36 (patch) | |
| tree | bf106bf5a6df144af38a93adc70adddf8ce2897b /src/lib/ffmpeg_decoder.h | |
| parent | 141f9a795381fa3bbd3f2bcbd19975dfd8a8c35e (diff) | |
Fix subrip subtitles a little.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
| -rw-r--r-- | src/lib/ffmpeg_decoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index 6006fc08d..335364d2e 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -72,6 +72,8 @@ private: int minimal_run (boost::function<bool (boost::optional<ContentTime>, boost::optional<ContentTime>, int)>); void seek_and_flush (ContentTime); + bool has_subtitle_during (ContentTimePeriod) const; + boost::shared_ptr<Log> _log; AVCodecContext* _subtitle_codec_context; ///< may be 0 if there is no subtitle AVCodec* _subtitle_codec; ///< may be 0 if there is no subtitle |
