vc1: Fix OMX_IndexVendorThumbnailMode usage
authorChristopher N. Hesse <raymanfx@gmail.com>
Tue, 23 Jun 2015 22:53:52 +0000 (00:53 +0200)
committerChristopher N. Hesse <raymanfx@gmail.com>
Tue, 23 Jun 2015 22:53:58 +0000 (00:53 +0200)
Apparently there was a mismatch between the header and the actual code.

Change-Id: Icb877468f55fd81f98b6498fc02578e538211615

component/video/dec/vc1/Exynos_OMX_Wmvdec.c

index 45ced561895abe734a921152754117efa366225e..b5193a00201abd67cb527843f72ff6778f770372 100644 (file)
@@ -1467,7 +1467,7 @@ OMX_ERRORTYPE Exynos_WmvDec_GetExtensionIndex(
 
     if (Exynos_OSAL_Strcmp(cParameterName, EXYNOS_INDEX_PARAM_ENABLE_THUMBNAIL) == 0) {
         EXYNOS_WMVDEC_HANDLE *pWmvDec = (EXYNOS_WMVDEC_HANDLE *)((EXYNOS_OMX_VIDEODEC_COMPONENT *)pExynosComponent->hComponentHandle)->hCodecHandle;
-        *pIndexType = OMX_IndexVendorThumbnailMode;
+        *pIndexType = OMX_IndexParamEnableThumbnailMode;
         ret = OMX_ErrorNone;
     } else {
         ret = Exynos_OMX_VideoDecodeGetExtensionIndex(hComponent, cParameterName, pIndexType);