Skip to content
Browse files

[rbp] fixed omxcore using wrong wait

  • Loading branch information...
1 parent e124c6d commit f3d9b779b6cdd9f2385d9623cb851d2e725d31ff @huceke committed Aug 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/linux/OMXCore.cpp
View
4 xbmc/linux/OMXCore.cpp
@@ -1247,7 +1247,7 @@ OMX_ERRORTYPE COMXCoreComponent::EnablePort(unsigned int port, bool wait)
else
{
if(wait)
- omx_err = WaitForEvent(OMX_EventCmdComplete);
+ omx_err = WaitForCommand(OMX_EventCmdComplete, port);
for(int i = 0; i < OMX_MAX_PORTS; i++)
{
@@ -1296,7 +1296,7 @@ OMX_ERRORTYPE COMXCoreComponent::DisablePort(unsigned int port, bool wait)
else
{
if(wait)
- omx_err = WaitForEvent(OMX_EventCmdComplete);
+ omx_err = WaitForCommand(OMX_EventCmdComplete, port);
for(int i = 0; i < OMX_MAX_PORTS; i++)
{

0 comments on commit f3d9b77

Please sign in to comment.
Something went wrong with that request. Please try again.