summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-04-02 17:04:47 +0100
committerCarl Hetherington <cth@carlh.net>2014-04-02 17:04:47 +0100
commitc86ed0c80b762d31eb68386662a7c37ae4e21b6b (patch)
tree0b7e2bd5b5f5606b71c5ba39af35aa21bcbad5db /src/lib/decoder.h
parent89b2ca022fd8020a713d3a66c0bee93b2b95aac1 (diff)
Various fixes to FFmpeg decoder, including a couple of tests.
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 df3ac4f39..38556c818 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -42,10 +42,12 @@ public:
virtual ~Decoder () {}
protected:
- /** Seek so that the next peek() will yield the next thing
+ /** Seek so that the next pass() will yield the next thing
* (video/sound frame, subtitle etc.) at or after the requested
* time. Pass accurate = true to try harder to get close to
- * the request.
+ * the request. Note that seeking to time t may mean that
+ * the next pass() yields, for example, audio at time t and then
+ * video before it.
*/
virtual void seek (ContentTime time, bool accurate) = 0;
virtual bool pass () = 0;