aboutsummaryrefslogtreecommitdiff
path: root/base/src/componentbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/src/componentbase.cpp')
-rwxr-xr-x[-rw-r--r--]base/src/componentbase.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/src/componentbase.cpp b/base/src/componentbase.cpp
index e0f84c3..47d9cb0 100644..100755
--- a/base/src/componentbase.cpp
+++ b/base/src/componentbase.cpp
@@ -874,6 +874,11 @@ OMX_ERRORTYPE ComponentBase::CBaseGetExtensionIndex(
return OMX_ErrorNone;
}
+ if (!strcmp(cParameterName, "OMX.google.android.index.allocateNativeHandle")) {
+ *pIndexType = static_cast<OMX_INDEXTYPE>(OMX_IndexExtAllocateNativeHandle);
+ return OMX_ErrorNone;
+ }
+
return OMX_ErrorUnsupportedIndex;
}