Use AV_ prefixes on some FFmpeg bits.
[dcpomatic.git] / src / lib / dcp_decoder.h
index 3a05325c744ec195ed0b3320193840804b4e4dc1..6fdbd946af348dcd2f99a7d8306e5c8e6dabeff4 100644 (file)
@@ -30,17 +30,23 @@ namespace dcp {
 }
 
 class DCPContent;
-class Log;
+struct dcp_subtitle_within_dcp_test;
 
 class DCPDecoder : public VideoDecoder, public AudioDecoder, public SubtitleDecoder
 {
 public:
-       DCPDecoder (boost::shared_ptr<const DCPContent>);
+       DCPDecoder (boost::shared_ptr<const DCPContent>, bool fast);
+
+       std::list<boost::shared_ptr<dcp::Reel> > reels () const {
+               return _reels;
+       }
 
 private:
-       bool pass (PassReason);
+       friend struct dcp_subtitle_within_dcp_test;
+
+       bool pass ();
        void seek (ContentTime t, bool accurate);
-       
+
        std::list<ContentTimePeriod> image_subtitles_during (ContentTimePeriod, bool starting) const;
        std::list<ContentTimePeriod> text_subtitles_during (ContentTimePeriod, bool starting) const;