Merge master; specify libdcp-1.0.
[dcpomatic.git] / src / lib / decoder.h
index 654cacad4bc63d71131483422fcb231fe9a0729a..6646b0e76acc66b14edb78d698bd9c48412e07c4 100644 (file)
@@ -49,7 +49,7 @@ public:
        virtual void seek (ContentTime time, bool accurate);
        
        boost::shared_ptr<Decoded> peek ();
-       boost::shared_ptr<Decoded> get ();
+       void consume ();
 
 protected:
 
@@ -66,6 +66,7 @@ protected:
        boost::weak_ptr<const Film> _film;
 
        std::list<boost::shared_ptr<Decoded> > _pending;
+       bool _done;
 };
 
 #endif