diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-07 17:07:02 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-07 17:07:02 +0100 |
| commit | 0b97307b78b1d5e017e97ff90d5d05102cb70c1c (patch) | |
| tree | 16306c8f066b10a3fb356a3065c2db84220348ce /src/lib/video_decoder.h | |
| parent | 0799f9481791f8a70589bf9e6991883f48e27b3d (diff) | |
Fix seeks past the end of video files.
Diffstat (limited to 'src/lib/video_decoder.h')
| -rw-r--r-- | src/lib/video_decoder.h | 4 |
1 files changed, 4 insertions, 0 deletions
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<const Film>, boost::shared_ptr<const VideoContent>); + 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 */ |
