[Scummvm-git-logs] scummvm master -> d5df72998c33a03b58b0206dd39685280f25d39d
dreammaster
dreammaster at scummvm.org
Wed Sep 13 02:40:04 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:
d5df72998c TITANIC: Fix blocky squares during transitions on SGT level
Commit: d5df72998c33a03b58b0206dd39685280f25d39d
https://github.com/scummvm/scummvm/commit/d5df72998c33a03b58b0206dd39685280f25d39d
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-09-12T20:39:54-04:00
Commit Message:
TITANIC: Fix blocky squares during transitions on SGT level
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 a817f49..cebc4ba 100644
--- a/engines/titanic/support/avi_surface.cpp
+++ b/engines/titanic/support/avi_surface.cpp
@@ -493,6 +493,12 @@ bool AVISurface::playCutscene(const Rect &r, uint startFrame, uint endFrame) {
if (_currentFrame != ((int)startFrame - 1) || startFrame == 0) {
// Start video playback at the desired starting frame
+ if (startFrame > 0) {
+ // Give a chance for a key frame just prior to the start frame
+ // to be loaded first
+ setFrame(startFrame - 1);
+ }
+
setFrame(startFrame);
startAtFrame(startFrame);
_currentFrame = startFrame;
More information about the Scummvm-git-logs
mailing list