X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdecoder.h;h=26035d221080a5304cbccdde0bcf4490c78550bf;hp=f70eca8b3fb55a41ca8d627b9e141f3728abf0d5;hb=eb135e8dcdf36ae82420bcd18e954ad593b3e9a5;hpb=22b13599407e45d85d1c83e0805aa14965b0ab19 diff --git a/src/lib/decoder.h b/src/lib/decoder.h index f70eca8b3..26035d221 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -47,7 +47,8 @@ public: boost::shared_ptr audio; boost::shared_ptr subtitle; - virtual void pass () = 0; + /** @return true if there is no more data to come from this decoder */ + virtual bool pass () = 0; virtual void seek (ContentTime time, bool accurate) = 0; ContentTime position () const;