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

David Bolen db3l.net at gmail.com
Fri Mar 6 16:46:43 CET 2009


David Bolen <db3l.net at gmail.com> writes:

> And yes, I think your suggestion is cleaner and performs as well as mine.
(...)
> The bottom line though is that it appears to be plenty of time.

I may need to correct this - it seemed good in local testing, but in
production use, the single usec_sleep appears to be too short, as I'm
getting a lot of log file warnings about bytes still remaining after
the sleep, whereas I never got any with my counted loop other than when
the problem occurred.

Whether it implies get_sleep() isn't accurate enough (it looks like it
ought to be ok), or if it just needs a little bit of a safety buffer
or rounding up or something, I'm not positive yet.

-- David




More information about the MPlayer-dev-eng mailing list