aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2011-02-09 00:14:06 +0000
committerMax Horn2011-02-09 00:14:06 +0000
commitd7370f11e4369f9bd110ec6200862f95e49a3149 (patch)
treeddd78d5637643d42a00f1c6431dfccdce179512d
parentee7056542c258e6ed920c0b04f3d50f3bc135990 (diff)
downloadscummvm-rg350-d7370f11e4369f9bd110ec6200862f95e49a3149.tar.gz
scummvm-rg350-d7370f11e4369f9bd110ec6200862f95e49a3149.tar.bz2
scummvm-rg350-d7370f11e4369f9bd110ec6200862f95e49a3149.zip
VIDEO: Remove unused SeekableVideoDecoder::seekToFrame method
svn-id: r55844
-rw-r--r--engines/mohawk/video.cpp5
-rw-r--r--engines/mohawk/video.h1
-rw-r--r--video/video_decoder.h6
3 files changed, 0 insertions, 12 deletions
diff --git a/engines/mohawk/video.cpp b/engines/mohawk/video.cpp
index ccb86cc54f..9bf202083a 100644
--- a/engines/mohawk/video.cpp
+++ b/engines/mohawk/video.cpp
@@ -515,11 +515,6 @@ void VideoManager::seekToTime(VideoHandle handle, Audio::Timestamp time) {
_videoStreams[handle]->seekToTime(time);
}
-void VideoManager::seekToFrame(VideoHandle handle, uint32 frame) {
- assert(handle != NULL_VID_HANDLE);
- _videoStreams[handle]->seekToFrame(frame);
-}
-
void VideoManager::setVideoLooping(VideoHandle handle, bool loop) {
assert(handle != NULL_VID_HANDLE);
_videoStreams[handle].loop = loop;
diff --git a/engines/mohawk/video.h b/engines/mohawk/video.h
index c1765ffc9d..6b9cfa25d2 100644
--- a/engines/mohawk/video.h
+++ b/engines/mohawk/video.h
@@ -107,7 +107,6 @@ public:
bool endOfVideo(VideoHandle handle);
void setVideoBounds(VideoHandle handle, Audio::Timestamp start, Audio::Timestamp end);
void seekToTime(VideoHandle handle, Audio::Timestamp time);
- void seekToFrame(VideoHandle handle, uint32 frame);
void setVideoLooping(VideoHandle handle, bool loop);
void waitUntilMovieEnds(VideoHandle videoHandle);
void delayUntilMovieEnds(VideoHandle videoHandle);
diff --git a/video/video_decoder.h b/video/video_decoder.h
index 30050e9af5..5b6c882d09 100644
--- a/video/video_decoder.h
+++ b/video/video_decoder.h
@@ -248,12 +248,6 @@ public:
class SeekableVideoDecoder : public virtual RewindableVideoDecoder {
public:
/**
- * Seek to the specified frame.
- * If seekToFrame(0) is called, frame 0 will be decoded next in decodeNextFrame().
- */
- virtual void seekToFrame(uint32 frame) = 0;
-
- /**
* Seek to the specified time.
*
* This will round to the previous frame showing. If the time would happen to