[FFmpeg-devel] [PATCH] remove loop in udp_read

Ronald S. Bultje rsbultje
Thu Sep 16 19:09:57 CEST 2010


Hi,

On Thu, Sep 16, 2010 at 12:14 PM, aviad rozenhek <aviadr1 at gmail.com> wrote:
> the file udp.c provides a very useful API for handling udp traffic,
> specifically I use it for handling raw mpegts packets.
> however the fact the udp_read blocks forever makes it less useful in case no
> traffic comes in.

Have you looked at interrupt_cb?

Ronald



More information about the ffmpeg-devel mailing list