[libav-api] Interrupt network wait in av_read_frame() to seek

Luca Barbato lu_zero at gentoo.org
Tue Aug 28 22:26:08 CEST 2012

On 08/28/2012 08:47 PM, Andrey Utkin wrote:
> 2. Fire the interrupt using avio callback, and then proceed working on
> opened stream. It is an abuse of interrupt callback concept and should
> not work theoretically.
> 3. Non-blocking demuxing (*_FLAG_NONBLOCK). Seems under construction.
> Don't see mentions of these flags neither in http protocol driver, nor
> in hls, mpegts demuxers.

check how retry_transfer_wrapper works, you will have to manage eagain
but nonblocking should work just fine.


More information about the libav-api mailing list