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
commit349d3fcb4afacf754f7b5b5186d2f258f5bf35e7 (patch)
tree6dc30007e1292cb2516bc7ce010be6fe12ef5922 /include
parent117cd9286424888c1c5bf202ebf1e08ae1e6affe (diff)
downloadframeworks_av-349d3fcb4afacf754f7b5b5186d2f258f5bf35e7.zip
frameworks_av-349d3fcb4afacf754f7b5b5186d2f258f5bf35e7.tar.gz
frameworks_av-349d3fcb4afacf754f7b5b5186d2f258f5bf35e7.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(