From 54b0bc74e051bd7df10cd657b481d88db6cdaa27 Mon Sep 17 00:00:00 2001 From: Lajos Molnar Date: Mon, 31 Mar 2014 12:30:01 -0700 Subject: ACodec: do not signal kWhatShutdownCompleted on codec error Do not signal kWhatShutdownCompleted when moving to Uninitialized state due to receiving a codec error. Do not abort if error happens just before handling a stop request. Bug: 13675112 Change-Id: I4b14b2e64cff0f71215d2bbc24cd850617dfb67b --- include/media/stagefright/ACodec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index 863a7d5..8ec7f1c 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -189,6 +189,7 @@ private: bool mIsEncoder; bool mUseMetadataOnEncoderOutput; bool mShutdownInProgress; + bool mExplicitShutdown; // If "mKeepComponentAllocated" we only transition back to Loaded state // and do not release the component instance. -- cgit v1.1