qbektrix / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

EOS not detected #762

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I found bug in _ensure_video_packets method in avbin.py. It calls 
self._get_packet() (twice, before and in while loop) but do not check if new 
packed is received which leads to infinite loop. I solved this bug by adding 
check and returning False if self._get_packet() return False (can't fetch more 
packets aka EOS). 

Original issue reported on code.google.com by fen...@gmail.com on 6 Sep 2014 at 10:56

Attachments: