diff options
-rw-r--r-- | engines/mohawk/video.cpp | 5 | ||||
-rw-r--r-- | engines/mohawk/video.h | 1 | ||||
-rw-r--r-- | video/video_decoder.h | 6 |
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 |