提交 43564f17 编写于 作者: Z Zhang Rui

ffplay: timeout should be microsecond

上级 b8935a24
...@@ -1833,7 +1833,7 @@ static int read_thread(void *arg) ...@@ -1833,7 +1833,7 @@ static int read_thread(void *arg)
#endif #endif
// TODO: 8 set options from java side // TODO: 8 set options from java side
av_dict_set(&ffp->format_opts, "timeout", "10000", 0); av_dict_set(&ffp->format_opts, "timeout", "10000000", 0);
ic = avformat_alloc_context(); ic = avformat_alloc_context();
ic->interrupt_callback.callback = decode_interrupt_cb; ic->interrupt_callback.callback = decode_interrupt_cb;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册