summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-12-13 15:02:09 +0000
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commiteb135e8dcdf36ae82420bcd18e954ad593b3e9a5 (patch)
treef63742f6409c182482e7204aaf024ce93c63bc20 /src/lib/decoder.h
parent22b13599407e45d85d1c83e0805aa14965b0ab19 (diff)
Reinstate subtitle list view.
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h3
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;