summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-02-21 21:42:44 +0000
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commit89aa9d4ba69e471949f791cdafe4ae20cea554d2 (patch)
treea8260555268d392292775a2851d8780e5612091b /src/lib/decoder.h
parent7db99ef207c68910ee96a3e806c9832e8f90b219 (diff)
Various fixes to push audio vaguely in the right direction.
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index 26035d221..d87ff610a 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -47,9 +47,11 @@ public:
boost::shared_ptr<AudioDecoder> audio;
boost::shared_ptr<SubtitleDecoder> subtitle;
- /** @return true if there is no more data to come from this decoder */
+ /** Do some decoding and perhaps emit video, audio or subtitle data.
+ * @return true if this decoder will emit no more data unless a seek() happens.
+ */
virtual bool pass () = 0;
- virtual void seek (ContentTime time, bool accurate) = 0;
+ virtual void seek (ContentTime time, bool accurate);
ContentTime position () const;
};