diff options
Diffstat (limited to 'base/src/componentbase.cpp')
-rw-r--r-- | base/src/componentbase.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/src/componentbase.cpp b/base/src/componentbase.cpp index 190b545..5ef23c1 100644 --- a/base/src/componentbase.cpp +++ b/base/src/componentbase.cpp @@ -745,11 +745,17 @@ OMX_ERRORTYPE ComponentBase::CBaseGetExtensionIndex( *pIndexType = static_cast<OMX_INDEXTYPE>(OMX_IndexExtUseNativeBuffer); return OMX_ErrorNone; } + if (!strcmp(cParameterName, "OMX.Intel.index.rotation")) { *pIndexType = static_cast<OMX_INDEXTYPE>(OMX_IndexExtRotationDegrees); return OMX_ErrorNone; } + if (!strcmp(cParameterName, "OMX.Intel.index.enableSyncEncoding")) { + *pIndexType = static_cast<OMX_INDEXTYPE>(OMX_IndexExtSyncEncoding); + return OMX_ErrorNone; + } + return OMX_ErrorUnsupportedIndex; } |