commit | c0e4293794e9658da1ce9849a42c66ce19ef5f07 | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Tue Oct 25 14:50:16 2011 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Tue Oct 25 18:35:02 2011 -0700 |
tree | b898e7f88b43b44cbac4f673471015c676b8d08b | |
parent | be25d5b05639c8475b7faf312959923db86efa5d [diff] |
Stagefright: push blank buffers when tearing down This change makes OMXCodec push RGB 565 buffers filled with black to an ANativeWindow when tearing down after decoding to protected gralloc buffers. This allows the OMX tear down to zero out any protected buffers that were used without the possibility that the buffer is still being used by SurfaceFlinger or HWComposer. Bug: 5483222 Change-Id: I8acedd81a7bb67dfdc2fd15733e3375b6ce8d560