Fix build on OS X.
[dcpomatic.git] / src / lib / ffmpeg_examiner.h
index 6fd3220d426377a03b9b609ec98a8f899a7483f5..6e218512917813a5fe91ddbb7501c1b2ed3345a9 100644 (file)
@@ -35,6 +35,7 @@ public:
        dcp::Size video_size () const;
        Frame video_length () const;
        boost::optional<double> sample_aspect_ratio () const;
+       bool yuv () const;
 
        std::vector<boost::shared_ptr<FFmpegSubtitleStream> > subtitle_streams () const {
                return _subtitle_streams;
@@ -85,5 +86,6 @@ private:
        Frame _video_length;
        bool _need_video_length;
 
-       boost::optional<ContentTime> _last_subtitle_start;
+       typedef std::map<boost::shared_ptr<FFmpegSubtitleStream>, boost::optional<ContentTime> > LastSubtitleMap;
+       LastSubtitleMap _last_subtitle_start;
 };