Revert "Avoid decoding other packets when looking for subs."
[dcpomatic.git] / src / lib / dcp_decoder.h
index d735ca6a5515b65f34ad713cb9cf58b401d336d4..6fdbd946af348dcd2f99a7d8306e5c8e6dabeff4 100644 (file)
@@ -30,13 +30,16 @@ 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:
        friend struct dcp_subtitle_within_dcp_test;