diff options
Diffstat (limited to 'base/src/componentbase.cpp')
-rw-r--r-- | base/src/componentbase.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/base/src/componentbase.cpp b/base/src/componentbase.cpp index b5fada2..7ea8417 100644 --- a/base/src/componentbase.cpp +++ b/base/src/componentbase.cpp @@ -761,6 +761,13 @@ OMX_ERRORTYPE ComponentBase::CBaseGetExtensionIndex( return OMX_ErrorNone; } +#ifdef TARGET_HAS_VPP + if (!strcmp(cParameterName, "OMX.Intel.index.vppBufferNum")) { + *pIndexType = static_cast<OMX_INDEXTYPE>(OMX_IndexExtVppBufferNum); + return OMX_ErrorNone; + } +#endif + return OMX_ErrorUnsupportedIndex; } |