diff options
Diffstat (limited to 'src/lib/decoder.h')
| -rw-r--r-- | src/lib/decoder.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<AudioDecoder> audio; boost::shared_ptr<SubtitleDecoder> 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; |
