Merge master.
[dcpomatic.git] / src / lib / ffmpeg_decoder.h
index 2cda8f89d5b6263db0600454369d7732cd893c1f..335364d2e18bdacfce192b3a0366ec546f408c3d 100644 (file)
@@ -57,8 +57,6 @@ private:
        bool pass ();
        void flush ();
 
-       void setup_subtitle ();
-
        AVSampleFormat audio_sample_format () const;
        int bytes_per_audio_sample () const;
 
@@ -74,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