[MPlayer-dev-eng] [PATCH] ao_oss.c: Re-Open device on pause with O_NONBLOCK

Uoti Urpala uoti.urpala at pp1.inet.fi
Mon Sep 25 18:05:53 CEST 2006


On Mon, 2006-09-25 at 12:04 -0400, Rich Felker wrote:
> I suspect you're grossly misusing the O_NONBLOCK flag in your
> implementation. MPlayer does not want nonblocking mode. Nonblocking
> means that the write will FAIL if the buffer is full, whereas MPlayer
> wants to block if and only if the buffer is full, AFAIK. Blocking on

I see no reason why MPlayer would ever want to block. Even in the
audio-only case it tries to sleep between writes to the ao rather than
block on the writes.




More information about the MPlayer-dev-eng mailing list