Permalink
Browse files

Prevent timeout error because of waiting for port settings change eve…

…nt on the wrong pipeline object when using deinterlace mode
  • Loading branch information...
1 parent 643ba7a commit 7a9939f714bcafe8d6616bfbdeb87d2e4b1f24e8 @pitpompej pitpompej committed Mar 8, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/cores/omxplayer/OMXVideo.cpp
View
4 xbmc/cores/omxplayer/OMXVideo.cpp
@@ -885,10 +885,10 @@ int COMXVideo::Decode(uint8_t *pData, int iSize, double dts, double pts)
{
CLog::Log(LOGERROR, "%s::%s - error m_omx_image_fx.SetParameter(OMX_IndexParamPortDefinition) omx_err(0x%08x)\n", CLASSNAME, __func__, omx_err);
}
- omx_err = m_omx_decoder.WaitForEvent(OMX_EventPortSettingsChanged);
+ omx_err = m_omx_image_fx.WaitForEvent(OMX_EventPortSettingsChanged);
if(omx_err != OMX_ErrorNone)
{
- CLog::Log(LOGERROR, "%s::%s - error m_omx_decoder.WaitForEvent(OMX_EventPortSettingsChanged) omx_err(0x%08x)\n", CLASSNAME, __func__, omx_err);
+ CLog::Log(LOGERROR, "%s::%s - error m_omx_image_fx.WaitForEvent(OMX_EventPortSettingsChanged) omx_err(0x%08x)\n", CLASSNAME, __func__, omx_err);
}
port_image.nPortIndex = m_omx_image_fx.GetOutputPort();
omx_err = m_omx_image_fx.GetParameter(OMX_IndexParamPortDefinition, &port_image);

0 comments on commit 7a9939f

Please sign in to comment.