summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2013-04-11 16:06:14 -0700
committerAndreas Huber <andih@google.com>2013-04-11 16:13:48 -0700
commit6610a7d621c634fe059b855ca7eb3f58fb8d0757 (patch)
tree74b4670c4f0830050379efe2cf35e132a26cd14b /include
parentecba7488c5cceaacef95836b1b476433451e7761 (diff)
downloadframeworks_av-6610a7d621c634fe059b855ca7eb3f58fb8d0757.zip
frameworks_av-6610a7d621c634fe059b855ca7eb3f58fb8d0757.tar.gz
frameworks_av-6610a7d621c634fe059b855ca7eb3f58fb8d0757.tar.bz2
ACodec now signals an error if the mediaserver died while it is in
anything other than "uninitialized" state. Change-Id: Id133d897ac65b455b34e5de17ff9c39b47285630 related-to-bug: 8397711
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h
index 96baf34..5cfe5bc 100644
--- a/include/media/stagefright/ACodec.h
+++ b/include/media/stagefright/ACodec.h
@@ -46,6 +46,7 @@ struct ACodec : public AHierarchicalStateMachine {
kWhatInputSurfaceCreated = 'isfc',
kWhatSignaledInputEOS = 'seos',
kWhatBuffersAllocated = 'allc',
+ kWhatOMXDied = 'OMXd',
};
ACodec();
@@ -97,6 +98,7 @@ private:
struct ExecutingToIdleState;
struct IdleToLoadedState;
struct FlushingState;
+ struct DeathNotifier;
enum {
kWhatSetup = 'setu',