Skip to content

Commit

Permalink
Merge pull request #593 from chkr-private/sword25-movie-fix
Browse files Browse the repository at this point in the history
SWORD25: Delay next movie frame by videoDecoder.getTimeToNextFrame()
  • Loading branch information
bluegr committed Jun 24, 2015
2 parents 8fb5c96 + d39f93a commit e011e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sword25/fmv/movieplayer.cpp
Expand Up @@ -123,7 +123,7 @@ void MoviePlayer::update() {
if (_decoder.endOfVideo()) {
// Movie complete, so unload the movie
unloadMovie();
} else {
} else if (_decoder.needsUpdate()) {
const Graphics::Surface *s = _decoder.decodeNextFrame();
if (s) {
// Transfer the next frame
Expand Down

0 comments on commit e011e9f

Please sign in to comment.