[FFmpeg-devel] UDP Timeout

Michael Niedermayer michaelni at gmx.at
Fri Jun 3 16:10:12 CEST 2011

On Fri, Jun 03, 2011 at 09:51:48AM +0100, JULIAN GARDNER wrote:
> Seeing a small problem in that if you have a UDP stream that stops running, we dont get a timeout from either ffmpeg or ffplay, i tracked this down to udp.c, not sure if it was my version or the modified verision.
> Small mod here to return back if the return from select is an error or a timeout, my current version ran for 86mins, with modification, 20 seconds

thats strange, the code looks like it would timeout after 1 second
(tv.tv_sec = 1;) with your modification

PS: ive applied the indention fix


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110603/6fd8b3c3/attachment.asc>

More information about the ffmpeg-devel mailing list