2021-01-12 03:50

Interrupt callback

Hello, I'm having problems with some inputs when using avformat_open_input, because some times it takes too long (arround 1:30) and then the function returns with the corresponding error. The problem is in the inputs, so the error is OK, but the timeout is too long.

So, I'm trying to use the method interrupt_callback from AVFormatContext, but I can't get it working. I don't know how to use the Callback_Pointer to define the interrupt function. Please, Do you have some code or example using interrupt_callback?

Thank you very much


  • 点赞
  • 回答
  • 收藏
  • 复制链接分享