Is there a bug with video looping, or is this not supported? From my
tests, after the initial run, the video seems to flicker and only show
the first frame of the video. Apply attached patch to
examples/video.py to reproduce the issue.
I have also tried:
@player.event
def on_eos():
player.seek(0)
.. to no avail.
--
\\\\\/\"/\\\\\\\\\\\
\\\\/ // //\/\\\\\\\
\\\/ \\// /\ \/\\\\
\\/ /\/ / /\/ /\ \\\
\/ / /\/ /\ /\\\ \\
/ /\\\ /\\\ \\\\\/\
\/\\\\\/\\\\\/\\\\\\
d.p.s
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---
Index: examples/video.py
===================================================================
--- examples/video.py (revision 1990)
+++ examples/video.py (working copy)
@@ -59,6 +59,7 @@
sys.exit(1)
player = pyglet.media.Player()
+player.eos_action = pyglet.media.Player.EOS_LOOP
player.queue(source)
player.play()