summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-24 17:36:41 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-24 17:36:41 +0100
commita0f1a3d40f1c93d4432d1d4857c1620907259b2f (patch)
tree2281ecafd32c5d982b0ba164d194fc7a38e0a0b2 /src/lib/decoder.h
parentd6ae629f4a11579818235d37b2558c6cc9838779 (diff)
Seeking tweaks.
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index be9555dc4..edb532b9c 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -57,14 +57,15 @@ public:
/** Seek this decoder to as close as possible to some time,
* expressed relative to our source's start.
* @param t Time.
+ * @param a true to try hard to be accurate, otherwise false.
*/
- virtual void seek (Time) {}
+ virtual void seek (Time) = 0;
/** Seek back one video frame */
- virtual void seek_back () {}
+ virtual void seek_back () = 0;
/** Seek forward one video frame */
- virtual void seek_forward () {}
+ virtual void seek_forward () = 0;
/** @return Approximate time of the next content that we will emit,
* expressed relative to the start of our source.