[FFmpeg-devel] [PATCH] ffserver should check for EAGAIN on input streams

Howard Chu hyc
Fri Jun 4 08:05:38 CEST 2010


Howard Chu wrote:
> Howard Chu wrote:
>> Some file sources (e.g. flvdec) will return EAGAIN when reading packets from a
>> file, if there are (effectively) zero-length packets in the file. Currently
>> ffserver aborts the stream on any error; it should check for EAGAIN and retry.
>
> Bah. It appears that this patch breaks reading from HTTP (when receiving a
> feed.) Need to look at this more closely...

Ok, this happened because I was writing the feed without any active clients. 
Seems to me that ffserver ought to correctly receive feed data regardless of 
whether or not any clients are active.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dif.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100603/72819e57/attachment.txt>



More information about the ffmpeg-devel mailing list