Improve FFmpeg sync, in theory.
[dcpomatic.git] / src / lib / ffmpeg_examiner.h
index 5cf9c2d0a5b8454c2918b196d8227cdcbc071619..ec84865ed7cce45fdcc40999e5bb4f197fb55ce2 100644 (file)
@@ -41,15 +41,15 @@ public:
                return _audio_streams;
        }
 
-       boost::optional<Time> first_video () const {
+       boost::optional<double> first_video () const {
                return _first_video;
        }
        
 private:
        std::string stream_name (AVStream* s) const;
-       boost::optional<Time> frame_time (int) const;
+       boost::optional<double> frame_time (int) const;
        
         std::vector<boost::shared_ptr<FFmpegSubtitleStream> > _subtitle_streams;
         std::vector<boost::shared_ptr<FFmpegAudioStream> > _audio_streams;
-       boost::optional<Time> _first_video;
+       boost::optional<double> _first_video;
 };