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

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Sat Jan 22 16:39:53 CET 2011


Revision: 55430
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55430&view=rev
Author:   drmccoy
Date:     2011-01-22 15:39:52 +0000 (Sat, 22 Jan 2011)

Log Message:
-----------
GOB: Don't blit dirty rectangles while playing a live video

This fixes the inventory list flickering in 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-22 15:06:12 UTC (rev 55429)
+++ scummvm/trunk/engines/gob/videoplayer.cpp	2011-01-22 15:39:52 UTC (rev 55430)
@@ -450,7 +450,8 @@
 
 			for (Common::List<Common::Rect>::const_iterator rect = dirtyRects.begin(); rect != dirtyRects.end(); ++rect)
 				_vm->_draw->invalidateRect(rect->left + ignoreBorder, rect->top, rect->right - 1, rect->bottom - 1);
-			_vm->_draw->blitInvalidated();
+			if (!video->live)
+				_vm->_draw->blitInvalidated();
 
 		} else if (video->surface == _vm->_draw->_frontSurface) {
 			for (Common::List<Common::Rect>::const_iterator rect = dirtyRects.begin(); rect != dirtyRects.end(); ++rect)


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