[Scummvm-cvs-logs] SF.net SVN: scummvm:[55844] scummvm/trunk
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed Feb 9 01:14:06 CET 2011
Revision: 55844
http://scummvm.svn.sourceforge.net/scummvm/?rev=55844&view=rev
Author: fingolfin
Date: 2011-02-09 00:14:06 +0000 (Wed, 09 Feb 2011)
Log Message:
-----------
VIDEO: Remove unused SeekableVideoDecoder::seekToFrame method
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/video.cpp
scummvm/trunk/engines/mohawk/video.h
scummvm/trunk/video/video_decoder.h
Modified: scummvm/trunk/engines/mohawk/video.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/video.cpp 2011-02-09 00:13:42 UTC (rev 55843)
+++ scummvm/trunk/engines/mohawk/video.cpp 2011-02-09 00:14:06 UTC (rev 55844)
@@ -515,11 +515,6 @@
_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;
Modified: scummvm/trunk/engines/mohawk/video.h
===================================================================
--- scummvm/trunk/engines/mohawk/video.h 2011-02-09 00:13:42 UTC (rev 55843)
+++ scummvm/trunk/engines/mohawk/video.h 2011-02-09 00:14:06 UTC (rev 55844)
@@ -107,7 +107,6 @@
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);
Modified: scummvm/trunk/video/video_decoder.h
===================================================================
--- scummvm/trunk/video/video_decoder.h 2011-02-09 00:13:42 UTC (rev 55843)
+++ scummvm/trunk/video/video_decoder.h 2011-02-09 00:14:06 UTC (rev 55844)
@@ -248,12 +248,6 @@
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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list