[FFmpeg-devel] [PATCH] remove loop in udp_read

Luca Barbato lu_zero
Sun Sep 19 10:56:17 CEST 2010


On 09/17/2010 10:59 PM, Ronald S. Bultje wrote:
> For true async I/O, we'd need a new url_open() flag, so that the
> behaviour is to not block (not even for 100ms), and return immediately
> to the calling application (regardless of whether the application used
> av_read_frame() or url_read()) - note that this is _not_ easy.

Probably would be even nicer think about splitting read/write from poll,
so users with specific needs could replace our quite limited select
based loop with something nicer.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list