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

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


Hi,

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
> SIGKILL.
[...]

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...


				Luca




More information about the ffmpeg-devel mailing list