On 27/06/2012 11:31, Mark Kenna wrote:
Hi Guys

I am trying to implement a way of cancelling the call to av_read_frame(..) which seems to block indefinitely. I have added the interrupt callback to the formatcontext but this callback only gets fired on the call to avformat_open_input(..) not the call to av_read_frame(...). I have also tried setting AVFMT_FLAG_NONBLOCK but this doesn't work either.

Anyone have any suggestions?

Thanks,
Mark.




Furthermore, I've found that the interrupt_callback works for rtsp_transport UDP but not HTTP or TCP (which are the ones I am interested in).

Mark.

_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to