Cope with offsets between video/audio/subtitle data in a muxed file.
[dcpomatic.git] / src / lib / ffmpeg_decoder.h
index dfe1f26940c59d6477f96bfb217dd0db01d3681c..d6f50cd43511769d2089e79654bcd8d22aa18aa5 100644 (file)
@@ -52,7 +52,7 @@ private:
        bool pass (PassReason, bool accurate);
        void seek (ContentTime time, bool);
        void flush ();
-       void update_position (ContentTime p);
+       void update_position (boost::optional<ContentTime>& current, ContentTime p);
 
        AVSampleFormat audio_sample_format (boost::shared_ptr<FFmpegAudioStream> stream) const;
        int bytes_per_audio_sample (boost::shared_ptr<FFmpegAudioStream> stream) const;