[Scummvm-cvs-logs] SF.net SVN: scummvm: [27737] scummvm/trunk/engines/agos/animation.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Wed Jun 27 03:46:05 CEST 2007


Revision: 27737
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27737&view=rev
Author:   Kirben
Date:     2007-06-26 18:46:04 -0700 (Tue, 26 Jun 2007)

Log Message:
-----------
Clear any paused OmniTV video, when playing another video. To fix crashes in The Feeble Files, when another video is played between the pause and restart of an OmniTV video.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/animation.cpp

Modified: scummvm/trunk/engines/agos/animation.cpp
===================================================================
--- scummvm/trunk/engines/agos/animation.cpp	2007-06-27 01:34:08 UTC (rev 27736)
+++ scummvm/trunk/engines/agos/animation.cpp	2007-06-27 01:46:04 UTC (rev 27737)
@@ -130,8 +130,11 @@
 		return;
 	}
 
-	if (!_fd) {
-		return;
+	if (_omniTVFile) {
+		// Clear any paused OmniTV video
+		_mixer->stopHandle(_omniTVSound);
+		delete _omniTVFile;
+		_omniTVFile = 0;
 	}
 
 	_leftButtonDown = false;


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