From 1b3e9b80e4940ccf218062fd5dc907c6079ba249 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 13 Jul 2013 11:48:52 +0100 Subject: Another attempt to fix back / same-frame seeks. --- src/lib/video_decoder.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/video_decoder.h') 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); - 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. -- cgit v1.2.3