#ifdef USE_STOREMETADATA
case OMX_IndexParamStoreMetaDataBuffer:
{
+ EXYNOS_OMX_VIDEOENC_COMPONENT *pVideoEnc = (EXYNOS_OMX_VIDEOENC_COMPONENT *)pExynosComponent->hComponentHandle;
+ if (pVideoEnc == NULL) {
+ ret = OMX_ErrorBadParameter;
+ goto EXIT;
+ }
+
ret = Exynos_OSAL_SetANBParameter(hComponent, nParamIndex, pComponentParameterStructure);
+ if (ret == OMX_ErrorNone)
+ pVideoEnc->bFirstInput = OMX_TRUE;
}
break;
#endif
#include "Exynos_OMX_Basecomponent.h"
#include "Exynos_OMX_Macros.h"
#include "Exynos_OMX_Vdec.h"
-#include "Exynos_OMX_Venc.h"
#include "Exynos_OSAL_Android.h"
#include "exynos_format.h"
case OMX_IndexParamStoreMetaDataBuffer:
{
- EXYNOS_OMX_VIDEOENC_COMPONENT *pVideoEnc = (EXYNOS_OMX_VIDEOENC_COMPONENT *)pExynosComponent->hComponentHandle;;
StoreMetaDataInBuffersParams *pANBParams = (StoreMetaDataInBuffersParams *) ComponentParameterStructure;
OMX_U32 portIndex = pANBParams->nPortIndex;
EXYNOS_OMX_BASEPORT *pExynosPort = NULL;
}
pExynosPort->bStoreMetaData = pANBParams->bStoreMetaData;
- pVideoEnc->bFirstInput = OMX_TRUE;
}
break;