summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-02-04 10:12:26 -0800
committerAndreas Huber <andih@google.com>2011-02-04 10:12:26 -0800
commit6760f9832df60e8421c10c4928d0612662222811 (patch)
treee732f40fefaaa209523925ec082fffd7fa299b2d /include
parent8adacd8e22e2a44c941e2b930cc53b7b843f4063 (diff)
downloadframeworks_base-6760f9832df60e8421c10c4928d0612662222811.zip
frameworks_base-6760f9832df60e8421c10c4928d0612662222811.tar.gz
frameworks_base-6760f9832df60e8421c10c4928d0612662222811.tar.bz2
Improvements/fixes to ACodec.
- Make sure ACodec reverts its state when it's shutdown - Defer "resume" to after handling the OutputPortSettingsChange - If the OMX_EventPortSettingsChanged event comes in while we're flushing, defer it and make sure the output port can be disabled by deleting all buffers not already owned by the component. Change-Id: I1f8cdffa71237b57d4275a48b834647a7b263e8b
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h
index 4599d70..a969796 100644
--- a/include/media/stagefright/ACodec.h
+++ b/include/media/stagefright/ACodec.h
@@ -109,7 +109,7 @@ private:
status_t allocateOutputBuffersFromNativeWindow();
status_t cancelBufferToNativeWindow(BufferInfo *info);
- status_t freeOutputBuffersOwnedByNativeWindow();
+ status_t freeOutputBuffersNotOwnedByComponent();
BufferInfo *dequeueBufferFromNativeWindow();
BufferInfo *findBufferByID(