From 0b97307b78b1d5e017e97ff90d5d05102cb70c1c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 7 Jun 2013 17:07:02 +0100 Subject: Fix seeks past the end of video files. --- src/lib/video_decoder.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib/video_decoder.h') diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h index 5073efead..b47d7fc3a 100644 --- a/src/lib/video_decoder.h +++ b/src/lib/video_decoder.h @@ -31,6 +31,10 @@ class VideoDecoder : public VideoSource, public virtual Decoder public: VideoDecoder (boost::shared_ptr, boost::shared_ptr); + virtual void seek (Time); + virtual void seek_back (); + virtual void seek_forward (); + /* Calls for VideoContent to find out about itself */ /** @return video frame rate second, or 0 if unknown */ -- cgit v1.2.3