[FFmpeg-devel] [PATCH] remove loop in udp_read
Thu Sep 16 19:39:28 CEST 2010
On Thu, Sep 16, 2010 at 12:09, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> On Thu, Sep 16, 2010 at 12:14 PM, aviad rozenhek <aviadr1 at gmail.com>
> > 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
> > traffic comes in.
> Have you looked at interrupt_cb?
interrupt_cb has the unfortunate property of killing all input in all
sockets and files together.
its a big no-no if i'm receiving more than one input concurrently.
More information about the ffmpeg-devel