MCPcopy Create free account
hub / github.com/carlonluca/pot / SendCommand

Method SendCommand

piomxtextures_src/omxplayer_lib/OMXCore.cpp:1336–1350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1334}
1335
1336OMX_ERRORTYPE COMXCoreComponent::SendCommand(OMX_COMMANDTYPE cmd, OMX_U32 cmdParam, OMX_PTR cmdParamData)
1337{
1338 if(!m_handle)
1339 return OMX_ErrorUndefined;
1340
1341 OMX_ERRORTYPE omx_err;
1342
1343 omx_err = OMX_SendCommand(m_handle, cmd, cmdParam, cmdParamData);
1344 if(omx_err != OMX_ErrorNone)
1345 {
1346 CLog::Log(LOGERROR, "COMXCoreComponent::SendCommand - %s failed with omx_err(0x%x)\n",
1347 m_componentName.c_str(), omx_err);
1348 }
1349 return omx_err;
1350}
1351
1352OMX_ERRORTYPE COMXCoreComponent::EnablePort(unsigned int port, bool wait)
1353{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected