aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/movie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/movie.cpp')
-rw-r--r--engines/pegasus/movie.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/engines/pegasus/movie.cpp b/engines/pegasus/movie.cpp
index fcceee149a..6187d87a2d 100644
--- a/engines/pegasus/movie.cpp
+++ b/engines/pegasus/movie.cpp
@@ -80,7 +80,7 @@ void Movie::initFromMovieFile(const Common::String &fileName, bool transparent)
if (!isSurfaceValid())
allocateSurface(bounds);
- TimeBase::setStart(0, getScale());
+ setStart(0, getScale());
TimeBase::setStop(_video->getDuration().convertToFramerate(getScale()).totalNumberOfFrames(), getScale());
}
@@ -132,13 +132,6 @@ void Movie::moveMovieBoxTo(const CoordType h, const CoordType v) {
_movieBox.moveTo(h, v);
}
-void Movie::setStart(const TimeValue startTime, const TimeScale scale) {
- TimeBase::setStart(startTime, scale);
-
- if (_video)
- _video->seek(Audio::Timestamp(0, _startTime, _startScale));
-}
-
void Movie::setStop(const TimeValue stopTime, const TimeScale scale) {
TimeBase::setStop(stopTime, scale);