commit | 66380f768c0de8bde1f54ac6ab3f126b66928dad | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Thu Apr 07 19:03:56 2011 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Fri Apr 08 15:24:10 2011 -0700 |
tree | 4802b7f6ac9fbfef97233ba227c30859a14585a2 | |
parent | fcba23536b1b432a5977e1ba4ea70ae0ff5aed4a [diff] |
Stagefright: authenticate ANativeWindow. This change adds a check to verify that the ANativeWindow to which decoded video buffers are queued sends those buffers to SurfaceFlinger. The check is done when the buffer content is flagged as protected. This change also adds an error in the case where protected buffers are needed, but an ANativeWindow is not being used as the video destination. Change-Id: I107c9082d65ef0de4a13594e9535a2053ad5161b Bug: 4269240