Hi,

I have a situation on 64-bit Windows 8 + 32-bit Python 2.7.5 + pyglet 1.1.4 
that looks like this:

when I play AVI using media_player.py from examples, everything works fine
... unless the movie ends OR unless I try to move the progress bar. 

In such cases, the application stalls (hangs). I am able to Ctrl+C it, and 
I get such exception:
C:\Users\dotz\Desktop\pyglet-examples>python media_player.py 63_0.avi
Traceback (most recent call last):
  File "media_player.py", line 330, in <module>
    pyglet.app.run()
  File "c:\python27\lib\site-packages\pyglet\app\__init__.py", line 123, in 
run
    event_loop.run()
  File "c:\python27\lib\site-packages\pyglet\app\base.py", line 135, in run
    self._run_estimated()
  File "c:\python27\lib\site-packages\pyglet\app\base.py", line 164, in 
_run_estimated
    timeout = self.idle()
  File "c:\python27\lib\site-packages\pyglet\app\base.py", line 273, in idle
    redraw_all = self.clock.call_scheduled_functions(dt)
  File "c:\python27\lib\site-packages\pyglet\clock.py", line 310, in 
call_scheduled_functions
    item.func(ts - item.last_ts, *item.args, **item.kwargs)
  File "c:\python27\lib\site-packages\pyglet\media\__init__.py", line 1134, 
in update_texture
    self._groups[0].get_next_video_frame() # Discard frame
  File "c:\python27\lib\site-packages\pyglet\media\__init__.py", line 811, 
in get_next_video_frame
    return self._sources[0].get_next_video_frame()
  File "c:\python27\lib\site-packages\pyglet\media\avbin.py", line 548, in 
get_next_video_frame
    self._condition.wait()
  File "c:\python27\lib\threading.py", line 334, in wait
    waiter.acquire()

I tried various avbin.dll versions (5, 10, the one included with 1.1.4 msi) 
and this did not help.

This situation did not occur when I developed this software earlier, with 
previous Python versions & previous Windows versions. 

Do you have any ideas, what could be causing that or how to fix that ?

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to