diff options
author | Trent Nelson <trent.a.b.nelson@gmail.com> | 2014-04-18 16:44:53 -0600 |
---|---|---|
committer | Trent Nelson <trent.a.b.nelson@gmail.com> | 2014-04-18 16:47:17 -0600 |
commit | 482ccd3ca11c89c71f46a5d7b959dc693a8b9dcc (patch) | |
tree | 13289ea75735397ee78afc28c33c581629f2fb61 | |
parent | 9b6706577a0927aa3f7ae9ab96e02fd3391f571e (diff) |
Merge pull request #4578 from davilla/fix-mediacodecGotham_beta4
[droid] fixed stutter under MediaCodec. We need to wait a little longer before we think the frame is late
-rw-r--r-- | xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp index 589683f967..2eaea8d97f 100644 --- a/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp +++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp @@ -275,8 +275,8 @@ void CDVDMediaCodecInfo::UpdateTexImage() // wait, then video playback gets jerky. To optomize this, // we hook the SurfaceTexture OnFrameAvailable callback // using CJNISurfaceTextureOnFrameAvailableListener and wait - // on a CEvent to fire. 20ms seems to be a good max fallback. - m_frameready->WaitMSec(20); + // on a CEvent to fire. 50ms seems to be a good max fallback. + m_frameready->WaitMSec(50); m_surfacetexture->updateTexImage(); if (xbmc_jnienv()->ExceptionOccurred()) |