summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx/OMXMaster.h
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 /media/libstagefright/omx/OMXMaster.h
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 'media/libstagefright/omx/OMXMaster.h')
-rw-r--r--media/libstagefright/omx/OMXMaster.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/media/libstagefright/omx/OMXMaster.h b/media/libstagefright/omx/OMXMaster.h
index 63cd664..e944c4a 100644
--- a/media/libstagefright/omx/OMXMaster.h
+++ b/media/libstagefright/omx/OMXMaster.h
@@ -37,6 +37,9 @@ struct OMXMaster : public OMXPluginBase {
OMX_PTR appData,
OMX_COMPONENTTYPE **component);
+ virtual OMX_ERRORTYPE destroyComponentInstance(
+ OMX_COMPONENTTYPE *component);
+
virtual OMX_ERRORTYPE enumerateComponents(
OMX_STRING name,
size_t size,
@@ -46,6 +49,8 @@ private:
Mutex mLock;
List<OMXPluginBase *> mPlugins;
KeyedVector<String8, OMXPluginBase *> mPluginByComponentName;
+ KeyedVector<OMX_COMPONENTTYPE *, OMXPluginBase *> mPluginByInstance;
+
void *mVendorLibHandle;
void addVendorPlugin();