summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-13 11:48:52 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-13 11:48:52 +0100
commit1b3e9b80e4940ccf218062fd5dc907c6079ba249 (patch)
treeb9b597e4c4f41b9c05c36d8f739bc5792ae57528 /src/lib/video_decoder.h
parent842664b841683949bc7c6a84b4adde812d6e150e (diff)
Another attempt to fix back / same-frame seeks.
Diffstat (limited to 'src/lib/video_decoder.h')
-rw-r--r--src/lib/video_decoder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h
index 0b3350472..0560cbb6f 100644
--- a/src/lib/video_decoder.h
+++ b/src/lib/video_decoder.h
@@ -30,7 +30,10 @@ class VideoDecoder : public virtual Decoder
public:
VideoDecoder (boost::shared_ptr<const Film>);
- virtual void seek (VideoContent::Frame, bool) = 0;
+ /** Seek so that the next pass() will yield (approximately) the requested frame.
+ * Pass accurate = true to try harder to get close to the request.
+ */
+ virtual void seek (VideoContent::Frame frame, bool accurate) = 0;
/** Emitted when a video frame is ready.
* First parameter is the video image.