Revert "Don't advertise metadata mode for VP8 decoder."
authorLajos Molnar <lajos@google.com>
Fri, 16 May 2014 23:26:51 +0000 (16:26 -0700)
committerLajos Molnar <lajos@google.com>
Wed, 4 Jun 2014 00:57:10 +0000 (17:57 -0700)
This reverts commit 0904c3659d032f759aa2877873e1fb335166435a.

Bug: 11972823
Change-Id: I6bf6fe90a0ae269ad4725d972f68587c0bad248c

exynos_omx/openmax/exynos_omx/osal/Exynos_OSAL_Android.cpp

index 9eda9b79584f2c2ca644b279fc453c1184bbf37d..da348f311b417f94394404d29964b47d71a3960e 100644 (file)
@@ -800,13 +800,6 @@ OMX_ERRORTYPE Exynos_OSAL_SetANBParameter(
             goto EXIT;
         }
 
-        // WORKAROUND: do not advertise metadata mode support for VP8 decoder until it can handle dynamic resolution change
-        bool isVP8Decoder = pExynosComponent->pExynosPort[INPUT_PORT_INDEX].portDefinition.format.video.eCompressionFormat == OMX_VIDEO_CodingVPX;
-        if (isVP8Decoder && portIndex == OUTPUT_PORT_INDEX) {
-            ret = OMX_ErrorNotImplemented;
-            goto EXIT;
-        }
-
         pExynosPort->bStoreMetaData = pANBParams->bStoreMetaData;
         if (pExynosComponent->codecType == HW_VIDEO_ENC_CODEC) {
             EXYNOS_OMX_VIDEOENC_COMPONENT *pVideoEnc = (EXYNOS_OMX_VIDEOENC_COMPONENT *)pExynosComponent->hComponentHandle;;