Author: ArcRiley
Date: 2007-07-07 07:15:04 -0400 (Sat, 07 Jul 2007)
New Revision: 402
Modified:
trunk/pysoy/src/textures/Video.pxi
Log:
fix for some videos not playing (K.I.S.S.)
Modified: trunk/pysoy/src/textures/Video.pxi
===================================================================
--- trunk/pysoy/src/textures/Video.pxi 2007-07-07 11:09:53 UTC (rev 401)
+++ trunk/pysoy/src/textures/Video.pxi 2007-07-07 11:15:04 UTC (rev 402)
@@ -125,9 +125,7 @@
cdef double _now
gettimeofday(&_tv, NULL)
_now = _tv.tv_sec + ( <double> _tv.tv_usec / 1000000.0 )
- if self._startTime == 0.0 :
- return 0
- if self._frameTime == 0.0 or self._startTime + self._frameTime < _now :
+ if self._startTime + self._frameTime < _now :
return 1
return 0
_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn