From 41d32a43f761fd2d79dacf9a84374a6d17916d36 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 12 Jun 2014 23:34:31 +0100 Subject: Fix subrip subtitles a little. --- src/lib/ffmpeg_decoder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/ffmpeg_decoder.h') 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, boost::optional, int)>); void seek_and_flush (ContentTime); + bool has_subtitle_during (ContentTimePeriod) const; + boost::shared_ptr _log; AVCodecContext* _subtitle_codec_context; ///< may be 0 if there is no subtitle AVCodec* _subtitle_codec; ///< may be 0 if there is no subtitle -- cgit v1.2.3