summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-03-31 12:30:01 -0700
committerLajos Molnar <lajos@google.com>2014-04-01 13:29:44 -0700
commit54b0bc74e051bd7df10cd657b481d88db6cdaa27 (patch)
treed0f66d92baae1b16a34e01eab18d640f3e2f8434 /include/media
parent118e7ff24af2e470ffed2bf7b37c9afa69afee92 (diff)
downloadframeworks_av-54b0bc74e051bd7df10cd657b481d88db6cdaa27.zip
frameworks_av-54b0bc74e051bd7df10cd657b481d88db6cdaa27.tar.gz
frameworks_av-54b0bc74e051bd7df10cd657b481d88db6cdaa27.tar.bz2
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
Diffstat (limited to 'include/media')
-rw-r--r--include/media/stagefright/ACodec.h1
1 files changed, 1 insertions, 0 deletions
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.