Skip to content

Commit

Permalink
Merge pull request #14770 from peak3d/videoview
Browse files Browse the repository at this point in the history
[Android] Wait 2000 instead 500ms until videoview is created
  • Loading branch information
peak3d committed Nov 2, 2018
2 parents 78b6e28 + a283eca commit d0a7c35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ bool CDVDVideoCodecAndroidMediaCodec::Open(CDVDStreamInfo &hints, CDVDCodecOptio
if (m_render_surface)
{
m_jnivideoview.reset(CJNIXBMCVideoView::createVideoView(this));
if (!m_jnivideoview || !m_jnivideoview->waitForSurface(500))
if (!m_jnivideoview || !m_jnivideoview->waitForSurface(2000))
{
CLog::Log(LOGERROR, "CDVDVideoCodecAndroidMediaCodec: VideoView creation failed!!");
goto FAIL;
Expand Down

0 comments on commit d0a7c35

Please sign in to comment.