OSDN Git Service

Stagefright: MediaCodec: shutdown allocated codec on error
authorPraveen Chavan <pchavan@codeaurora.org>
Wed, 15 Oct 2014 09:24:34 +0000 (02:24 -0700)
committerLajos Molnar <lajos@google.com>
Tue, 21 Oct 2014 18:15:08 +0000 (11:15 -0700)
commit52dfbee90cc3c4426428318e06a92774f5201198
tree3721c673f64eefe2bab9a7065ccc17a6f5109800
parent7de5ac1f067ec61f7ea424d5534cfd40987b11fa
Stagefright: MediaCodec: shutdown allocated codec on error

If MediaCodec sees a fatal error and transitions to
UNINITIALIZED state, The codec may still be alive (with an
exception of 'mediaserver-died' error).
Handle Shutdown of the codec during release().

Bug: 17784012
Bug: 18033275

Change-Id: I891e036499d9b440a57f77fb735a5ba4da9a6e43
include/media/stagefright/MediaCodec.h
media/libstagefright/MediaCodec.cpp