[Scummvm-cvs-logs] SF.net SVN: scummvm:[51869] scummvm/trunk/engines/gob/init.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Sun Aug 8 02:43:46 CEST 2010
Revision: 51869
http://scummvm.svn.sourceforge.net/scummvm/?rev=51869&view=rev
Author: drmccoy
Date: 2010-08-08 00:43:45 +0000 (Sun, 08 Aug 2010)
Log Message:
-----------
GOB: Use the new VideoPlayer interface for coktel.imd
Modified Paths:
--------------
scummvm/trunk/engines/gob/init.cpp
Modified: scummvm/trunk/engines/gob/init.cpp
===================================================================
--- scummvm/trunk/engines/gob/init.cpp 2010-08-08 00:43:22 UTC (rev 51868)
+++ scummvm/trunk/engines/gob/init.cpp 2010-08-08 00:43:45 UTC (rev 51869)
@@ -174,9 +174,11 @@
_vm->_util->longDelay(200); // Letting everything settle
- if (_vm->_vidPlayer->primaryOpen("coktel.imd")) {
- _vm->_vidPlayer->primaryPlay();
- _vm->_vidPlayer->primaryClose();
+ VideoPlayer::Properties props;
+ int slot;
+ if ((slot = _vm->_vidPlayer->openVideo(true, "coktel.imd", props)) >= 0) {
+ _vm->_vidPlayer->play(slot, props);
+ _vm->_vidPlayer->closeVideo(slot);
}
_vm->_draw->closeScreen();
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