summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-01 15:18:36 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-01 15:18:36 +0100
commita668653ae1229ff5574fb42b151d6289ddf6bb02 (patch)
tree5ddd7ed3546fb6d9fa9f945ac47718d5c9a523a6 /src/lib/decoder.h
parent6f071ce94bb7cff1106e2ef6d8eb4363694435f2 (diff)
Tidy up a bit.
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index 18f612e53..583a92636 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -43,10 +43,11 @@ public:
protected:
/** 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. Note that seeking to time t may mean that
- * the next pass() yields, for example, audio at time t and then
- * video before it.
+ * time. Pass accurate = true to try harder to ensure that, at worst,
+ * the next thing we yield comes before `time'. This may entail
+ * seeking some way before `time' to be on the safe side.
+ * Alternatively, if seeking is 100% accurate for this decoder,
+ * it may seek to just the right spot.
*/
virtual void seek (ContentTime time, bool accurate) = 0;
virtual bool pass () = 0;