commit | 44e9e0d825aef362a3413dfd63812962f5de1b1a | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Mon May 23 18:44:04 2011 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Wed May 25 12:27:33 2011 -0700 |
tree | a9f39b6996e0b4092c37b0841da1adfcb3d61ad7 | |
parent | a218715a7fca98c868feccee4751c94e38b676ff [diff] |
SurfaceTexture: fix an error check in dequeueBuffer. This change fixes the MIN_UNDEQUEUED_BUFFERS error check in dequeueBuffer. The check should only be performed if a buffer has been queued since the last time the buffer count was changed by the client. The check must be applied conditionally because video decoders require all the bufferes to be dequeued and registered before beginning the decode. Change-Id: I08d96b380544e395c2fcf0f3983a199bfd695b09