New DCPTime/ContentTime types.
[dcpomatic.git] / src / lib / ffmpeg_decoder.h
index 55b624bd60e1df843fbfb7eb0aacd7ef9c9746a6..ae9eb5084104a7fcaf75557511184b213b21d6f6 100644 (file)
@@ -74,7 +74,7 @@ private:
        bool seek_overrun_finished (ContentTime, boost::optional<ContentTime>, boost::optional<ContentTime>) const;
        bool seek_final_finished (int, int) const;
        int minimal_run (boost::function<bool (boost::optional<ContentTime>, boost::optional<ContentTime>, int)>);
-       void seek_and_flush (int64_t);
+       void seek_and_flush (ContentTime);
 
        AVCodecContext* _subtitle_codec_context; ///< may be 0 if there is no subtitle
        AVCodec* _subtitle_codec;                ///< may be 0 if there is no subtitle
@@ -85,6 +85,5 @@ private:
        bool _decode_video;
        bool _decode_audio;
 
-       double _video_pts_offset;
-       double _audio_pts_offset;
+       double _pts_offset;
 };