OSDN Git Service

MediaCodec: fix onError and onInputBufferAvailable
authorLajos Molnar <lajos@google.com>
Thu, 9 Oct 2014 23:32:33 +0000 (16:32 -0700)
committerLajos Molnar <lajos@google.com>
Thu, 9 Oct 2014 23:45:17 +0000 (16:45 -0700)
commit6e029f0ba9a3b421eb7273a095305f7998e9aa5a
tree8a9f301b11382e9126b58423dfd5950f7c190312
parentaf238382e33a027494a53556e6104b7245e7213f
MediaCodec: fix onError and onInputBufferAvailable

- don't call onInputBufferAvailable if we created an input surface
- keep component name alive if an error occurs

Bug: 17934966
Change-Id: I396c6e6cfd9fa589a1a95c6169492089255e6993
media/libstagefright/MediaCodec.cpp