diff options
author | Paul Gilbert | 2017-06-18 22:09:24 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-06-18 22:09:24 -0400 |
commit | eb68a94527314919d71289ccc07e651e18ddca98 (patch) | |
tree | ac378e3d92c679a6f6ae26275d56ac52991816e5 /engines/titanic | |
parent | f3c7aa977457b1d1c42f25b19c410e3f6471da03 (diff) | |
download | scummvm-rg350-eb68a94527314919d71289ccc07e651e18ddca98.tar.gz scummvm-rg350-eb68a94527314919d71289ccc07e651e18ddca98.tar.bz2 scummvm-rg350-eb68a94527314919d71289ccc07e651e18ddca98.zip |
TITANIC: Fix empty holes appearing in room transition videos
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/support/avi_surface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp index d3a63d71ae..22ed166034 100644 --- a/engines/titanic/support/avi_surface.cpp +++ b/engines/titanic/support/avi_surface.cpp @@ -160,6 +160,11 @@ void AVISurface::seekToFrame(uint frameNumber) { --frameNumber; if ((int)frameNumber != _currentFrame) { + if (frameNumber > 0) { + _decoder->seekToFrame(frameNumber - 1); + renderFrame(); + } + _decoder->seekToFrame(frameNumber); _currentFrame = _priorFrame = (int)frameNumber; } |