summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-12-04 12:52:40 -0800
committerAndreas Huber <andih@google.com>2009-12-04 12:52:40 -0800
commitf0fb96c352f30b812a4903a1d783a715e1e817bd (patch)
treebf0573cd7eb7789a512c51f21c854c4e8b7fa017 /include
parentadf7d77752b3dbd47badc8819aa2674860d6ccba (diff)
downloadframeworks_av-f0fb96c352f30b812a4903a1d783a715e1e817bd.zip
frameworks_av-f0fb96c352f30b812a4903a1d783a715e1e817bd.tar.gz
frameworks_av-f0fb96c352f30b812a4903a1d783a715e1e817bd.tar.bz2
Enable proper cleanup of OMX nodes managed through stagefright.
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/OMXPluginBase.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/stagefright/OMXPluginBase.h b/include/media/stagefright/OMXPluginBase.h
index 9643c5f..61cc50a 100644
--- a/include/media/stagefright/OMXPluginBase.h
+++ b/include/media/stagefright/OMXPluginBase.h
@@ -36,6 +36,9 @@ struct OMXPluginBase {
OMX_PTR appData,
OMX_COMPONENTTYPE **component) = 0;
+ virtual OMX_ERRORTYPE destroyComponentInstance(
+ OMX_COMPONENTTYPE *component) = 0;
+
virtual OMX_ERRORTYPE enumerateComponents(
OMX_STRING name,
size_t size,