summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-11-28 10:54:12 -0800
committerAndreas Huber <andih@google.com>2011-11-28 10:54:12 -0800
commitd3d822204249eaca4259bdf46f6f0357b96e8e21 (patch)
treef48558114991dfd8e267b6c166367cff7353305b /include
parent7cafbb32999049873d4746ba83bd20c88abe6ce6 (diff)
downloadframeworks_av-d3d822204249eaca4259bdf46f6f0357b96e8e21.zip
frameworks_av-d3d822204249eaca4259bdf46f6f0357b96e8e21.tar.gz
frameworks_av-d3d822204249eaca4259bdf46f6f0357b96e8e21.tar.bz2
If an error occurs that prevents us from reallocating buffers during a format change
we need to transition to executing state anyway to be able to properly flush/shutdown in the future. Change-Id: Ie48bc09ea31942009ae3a5a45aabc9ffad9fb91f related-to-bug: 5655016
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 5822877..3963d9c 100644
--- a/include/media/stagefright/ACodec.h
+++ b/include/media/stagefright/ACodec.h
@@ -166,6 +166,8 @@ private:
bool allYourBuffersAreBelongToUs();
+ size_t countBuffersOwnedByComponent(OMX_U32 portIndex) const;
+
void deferMessage(const sp<AMessage> &msg);
void processDeferredMessages();