[Scummvm-cvs-logs] SF.net SVN: scummvm:[55347] scummvm/trunk/engines/gob/videoplayer.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Thu Jan 20 11:21:27 CET 2011


Revision: 55347
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55347&view=rev
Author:   drmccoy
Date:     2011-01-20 10:21:27 +0000 (Thu, 20 Jan 2011)

Log Message:
-----------
GOB: Reverse-blit the final frame of a live video

Fixes some glitches at the end of live videos

Modified Paths:
--------------
    scummvm/trunk/engines/gob/videoplayer.cpp

Modified: scummvm/trunk/engines/gob/videoplayer.cpp
===================================================================
--- scummvm/trunk/engines/gob/videoplayer.cpp	2011-01-20 10:20:57 UTC (rev 55346)
+++ scummvm/trunk/engines/gob/videoplayer.cpp	2011-01-20 10:21:27 UTC (rev 55347)
@@ -305,6 +305,8 @@
 		// Video ended
 
 		WRITE_VAR_OFFSET(212, (uint32)-1);
+		if (video->surface == _vm->_draw->_frontSurface)
+			_vm->_draw->forceBlit(true);
 		_vm->_vidPlayer->closeVideo();
 		return;
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list