commit | 0bc6eb30bc09b4c49193229cf3c0de28341be6f4 | [log] [tgz] |
---|---|---|
author | Grace Kloba <klobag@google.com> | Wed Jun 22 01:29:13 2011 -0700 |
committer | Grace Kloba <klobag@google.com> | Wed Jun 22 01:29:13 2011 -0700 |
tree | f76f57e641fe40995efb3cff8ac1b3c353d022a5 | |
parent | 87b7f805b94f5df53343264509f6d606d96dfb05 [diff] |
Fix the issue where TextureView stuck if the producer side is too fast. When SurfaceTexture is in sync mode, the consumer needs to pull the pending frames. Otherwise the onFrameAvailable won't be called and no more update. This simple fix is to skip frame to keep up with the producer side. Change-Id: Ica833695dc0b0221d2543f46f0dd41aa55d1aa16