[Cvs-annodex] commit (annodex): cmmlwiki/trunk/cmmlwiki/play.py
conrad
nobody at lists.annodex.net
Tue Jun 6 09:25:27 UTC 2006
Update of /var/local/lib/svn/annodex (new revision 2326)
Modified files:
cmmlwiki/trunk/cmmlwiki/play.py
Log Message:
play.py: break on any error or eof from anx.write -- fixes spinning at end of
(some) videos
Modified: cmmlwiki/trunk/cmmlwiki/play.py
===================================================================
--- cmmlwiki/trunk/cmmlwiki/play.py 2006-06-06 00:28:04 UTC (rev 2325)
+++ cmmlwiki/trunk/cmmlwiki/play.py 2006-06-06 09:25:27 UTC (rev 2326)
@@ -60,7 +60,7 @@
# Generate Annodex media
while 1:
x = anx.write(1024000)
- if (x == 0):
+ if (x <= 0):
break
sys.stdout.flush()
--
conrad
More information about the cvs-annodex
mailing list