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

Ronald S. Bultje rsbultje
Fri Sep 17 22:59:52 CEST 2010


On Fri, Sep 17, 2010 at 4:54 PM, aviad rozenhek <aviadr1 at gmail.com> wrote:
> I will have a patch suggesting a new interrupt_cb in a few days.
> it would help to cancel specific input instead of all inputs together.
> but obviously it would not constitute a proper way to do async input.

That's acceptable to me.

For true async I/O, we'd need a new url_open() flag, so that the
behaviour is to not block (not even for 100ms), and return immediately
to the calling application (regardless of whether the application used
av_read_frame() or url_read()) - note that this is _not_ easy.


More information about the ffmpeg-devel mailing list