[FFmpeg-devel] [RFC] switch to poll()

Luca Barbato lu_zero
Sun Nov 14 12:22:39 CET 2010


On 11/14/2010 01:15 AM, Martin Storsj? wrote:
> On Fri, 12 Nov 2010, Luca Barbato wrote:
> 
>> select() has the 1024 fd limit that might touch some users of our
>> library, I'd switch all of the to poll() since we already have a
>> fallback for it in os_support.c
> 
> Sounds like a great plan, I actually thought about this issue some time 
> ago, but it seems I never took any action on it then.
> 
> I'd like to see a patch before you commit anything on it though, since 
> usually, using poll you normally end up with a bit more code than when 
> using select.

The only place in which we risk to add more code is rtsp, now I'm trying
to figure out a saner way to check there.

lu

-- 

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




More information about the ffmpeg-devel mailing list