提交 296b4d4b 编写于 作者: Z zhenghanchao 提交者: Xinzheng Zhang

ff_ffplay: modify sleep time when report eof

Signed-off-by: NXinzheng Zhang <zhangxzheng@gmail.com>
上级 7e6a10f2
......@@ -2856,7 +2856,7 @@ static int read_thread(void *arg)
}
if (is->eof) {
ffp_toggle_buffering(ffp, 0);
SDL_Delay(1000);
SDL_Delay(100);
}
SDL_LockMutex(wait_mutex);
SDL_CondWaitTimeout(is->continue_read_thread, wait_mutex, 10);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册