[libav-api] question about non-blocking protocols

aviad rozenhek aviadr1 at gmail.com
Tue Apr 5 16:18:15 CEST 2011


when I use libav* in server environment, I usually need that calls to
av_read_frame return with some error code when input is not available [such
as when multicast udp feed is down]
this can be achieved if the udp protocol is opened with the
URL_FLAG_NONBLOCK flag.

the question is:
how can I make sure the protocol is opened with the said
URL_FLAG_NONBLOCK flag,
when the av_open_input_file() function doesn't give me an opportunity to
specify this flag?

Thank
A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-api/attachments/20110405/89b9ca10/attachment.htm>


More information about the libav-api mailing list