Skip to content

Commit

Permalink
Merge pull request #6959 from popcornmix/omxtimeout
Browse files Browse the repository at this point in the history
[omximage] Increase timeout - this is sometimes hit
  • Loading branch information
popcornmix committed Apr 16, 2015
2 parents 644e132 + a32d5e5 commit 7dd9e04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/cores/omxplayer/OMXImage.cpp
Expand Up @@ -1398,7 +1398,7 @@ bool COMXImageEnc::Encode(unsigned char *buffer, int size, unsigned width, unsig
if(omx_err != OMX_ErrorNone)
return false;

omx_err = m_omx_encoder.WaitForOutputDone(1000);
omx_err = m_omx_encoder.WaitForOutputDone(2000);
if(omx_err != OMX_ErrorNone)
{
CLog::Log(LOGERROR, "%s::%s m_omx_resize.WaitForOutputDone result(0x%x)\n", CLASSNAME, __func__, omx_err);
Expand Down Expand Up @@ -1884,7 +1884,7 @@ bool COMXImageReEnc::ReEncode(COMXImageFile &srcFile, unsigned int maxWidth, uns
}
if (m_encoded_buffer)
{
omx_err = m_omx_encoder.WaitForOutputDone(1000);
omx_err = m_omx_encoder.WaitForOutputDone(2000);
if (omx_err != OMX_ErrorNone)
{
CLog::Log(LOGERROR, "%s::%s %s m_omx_encoder.WaitForOutputDone result(0x%x)\n", CLASSNAME, __func__, srcFile.GetFilename(), omx_err);
Expand Down

0 comments on commit 7dd9e04

Please sign in to comment.