OSDN Git Service

MediaCodec: move to UNINITIALIZED state on codec error
authorLajos Molnar <lajos@google.com>
Mon, 31 Mar 2014 19:30:01 +0000 (12:30 -0700)
committerLajos Molnar <lajos@google.com>
Tue, 1 Apr 2014 00:14:22 +0000 (17:14 -0700)
commitec5f7cc4756d389505e761b9d803a1a3a46b64d7
tree2ca458e4746c799bcc2f69c4d39606e46ec943b2
parent5e184b0d12f1ec436246a391da8d9355cc21ee08
MediaCodec: move to UNINITIALIZED state on codec error

ACodec moves to Uninitialized state after receiving codec error.
Make MediaCodec also move to the same state, so stop() and
release() will work correctly.

Bug: 13675112
Change-Id: I1c7e8b274f68345fc0e6a55c70dff6c7a4fb2e72
media/libstagefright/MediaCodec.cpp