weixin_39550486
2021-01-12 03:50Interrupt 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
该提问来源于开源项目:bytedeco/javacv
- 点赞
- 回答
- 收藏
- 复制链接分享
6条回答
为你推荐
- 使用time在golang中间隔执行重复性任务。
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 2个回答
- 所做Android打砖块代码其中 出错 求教
- android
- 2个回答