[FFmpeg-devel] [PATCH] UDP hangs with no input data

Luca Abeni lucabe72
Tue Nov 11 15:17:43 CET 2008


Jindrich Makovicka wrote:
> Hi,
> when there are no incoming packets on the specified UDP address/port,
> libavformat waits indefinitely, and can be only terminated using

Just a personal opinion (and not a too strong opinion), but I think
this problem should be solved at application level, not in libavformat
(the application can set an interval timer, or something similar, to
avoid stalling when waiting for input).

For example, the same problem might happen when libavformat is reading
from a pipe and no data is coming from it...


More information about the ffmpeg-devel mailing list