Some missing copy constructors / operator= / noncopyable.
[dcpomatic.git] / src / lib / ffmpeg_examiner.h
index 875451507a33d51833c9637784f63684b22fd0df..ec84865ed7cce45fdcc40999e5bb4f197fb55ce2 100644 (file)
@@ -17,6 +17,7 @@
 
 */
 
+#include <boost/optional.hpp>
 #include "ffmpeg.h"
 #include "video_examiner.h"
 
@@ -30,7 +31,7 @@ public:
        
        float video_frame_rate () const;
        libdcp::Size video_size () const;
-       ContentVideoFrame video_length () const;
+       VideoContent::Frame video_length () const;
 
        std::vector<boost::shared_ptr<FFmpegSubtitleStream> > subtitle_streams () const {
                return _subtitle_streams;
@@ -40,9 +41,15 @@ public:
                return _audio_streams;
        }
 
+       boost::optional<double> first_video () const {
+               return _first_video;
+       }
+       
 private:
        std::string stream_name (AVStream* s) 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<double> _first_video;
 };