summaryrefslogtreecommitdiffstats
path: root/include/media
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
commitac0230da14a3d223c2144b165a3a163e8519d239 (patch)
treed791aa2505b920e0b146f89bab9c36a1f3f171d7 /include/media
parentda0dc0af0effe9fbfb3ce3187c8472fca2baf3c6 (diff)
downloadframeworks_av-ac0230da14a3d223c2144b165a3a163e8519d239.zip
frameworks_av-ac0230da14a3d223c2144b165a3a163e8519d239.tar.gz
frameworks_av-ac0230da14a3d223c2144b165a3a163e8519d239.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/media')
-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',