[Scummvm-git-logs] scummvm master -> eb68a94527314919d71289ccc07e651e18ddca98
dreammaster
dreammaster at scummvm.org
Mon Jun 19 04:09:36 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
eb68a94527 TITANIC: Fix empty holes appearing in room transition videos
Commit: eb68a94527314919d71289ccc07e651e18ddca98
https://github.com/scummvm/scummvm/commit/eb68a94527314919d71289ccc07e651e18ddca98
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-06-18T22:09:24-04:00
Commit Message:
TITANIC: Fix empty holes appearing in room transition videos
Changed paths:
engines/titanic/support/avi_surface.cpp
diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp
index d3a63d7..22ed166 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;
}
More information about the Scummvm-git-logs
mailing list