[MPlayer-dev-eng] [PATCH] Non-blocking mp_msg
Rich Felker
dalias at aerifal.cx
Thu Jun 9 14:29:54 CEST 2005
On Tue, Jun 07, 2005 at 07:01:59PM +0300, Paul Pedaal wrote:
>
> There is a lot of fflush() in mp_msg making mplayer block when it can't write the status line to stdout for some reason. One can work around it by using the -quiet option, but I thought i'd try to fix it in the source.
>
> So I replaced the fflushes for stdout with my own nbfflush function that does a poll() and flushes only when it would be done without blocking.
This is nonportable and unnecessary. Run with -quiet if you have crap
causing your statusline to block...
Rich
More information about the MPlayer-dev-eng
mailing list