[MPlayer-dev-eng] [PATCH] Prevent ao_win32 from hanging during uninit(0)

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Mar 5 21:25:22 CET 2009


On Thu, Mar 05, 2009 at 02:47:59PM -0500, David Bolen wrote:
> Any downside to just bounding the loop for now?  I do have a
> self-interest in looking into this further but in the meantime, it's a
> hang exposure which the patch corrects.  Certainly it's an
> improvement, even if imperfect, over the existing code.

Well, I am undecided if it is worth the effort, I consider just going
with the ao_sdl solution (which in some ways is also more correct),
namely:
>  if (!immed)
>    usec_sleep(get_delay() * 1000 * 1000);



More information about the MPlayer-dev-eng mailing list