我的程序当前被此调用卡住:ilclient_get_input_buffer()。不幸的是,由于缺乏有关openmax IL的文档,我无法完全弄清楚自己在做什么。
if(ilclient_create_component(decoder->Client, &decoder->Video_Decode, "video_decode", ILCLIENT_CREATE_FLAGS_T(ILCLIENT_DISABLE_ALL_PORTS | ILCLIENT_ENABLE_INPUT_BUFFERS)) != 0) {
return;
}
set_tunnel(decoder->Tunnel, decoder->Video_Decode, 131, decoder->Video_Render, 10);
ilclient_change_component_state(decoder->Video_Decode, OMX_StateExecuting);
if (OMX_SetParameter(ILC_GET_HANDLE(decoder->Video_Decode), OMX_IndexParamVideoPortFormat, &decoder->Format) == OMX_ErrorNone &&
ilclient_enable_port_buffers(decoder->Video_Decode, 130, NULL, NULL, NULL) == 0) {
ilclient_change_component_state(decoder->Video_Decode, OMX_StateExecuting);
}
decoder->Buffer = ilclient_get_input_buffer(decoder->Video_Decode, 130, 1);
任何帮助将不胜感激!