commit | 7e477bfe11f8bb31622353b64e85721df3cf9702 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Fri May 18 16:50:58 2012 -0700 |
committer | Mathias Agopian <mathias@google.com> | Fri May 18 16:50:58 2012 -0700 |
tree | 63c57cd819b0ea00c595674c230f8232ab3cf17d | |
parent | f899e4113a5b5545cd91b4625514d0ab0d33751c [diff] |
make sure BufferQueue releases newly acquired buffers on failures this prevents SurfaceTexture producer to hang in dequeueBuffer() when something goes wrong in the consumer. only the consumer gets an error and the current frame is kept instead of the new one. the producer is unaware of the problem. Bug: 6476587 Change-Id: Ie6db5526632aabc3e60229b93dfe29c19491ade4