From: Christopher N. Hesse Date: Tue, 23 Jun 2015 22:53:52 +0000 (+0200) Subject: vc1: Fix OMX_IndexVendorThumbnailMode usage X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8bcd4d0f3a8db12b2759f6553e30b912436c2d5f;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung_slsi_openmax.git vc1: Fix OMX_IndexVendorThumbnailMode usage Apparently there was a mismatch between the header and the actual code. Change-Id: Icb877468f55fd81f98b6498fc02578e538211615 --- diff --git a/component/video/dec/vc1/Exynos_OMX_Wmvdec.c b/component/video/dec/vc1/Exynos_OMX_Wmvdec.c index 45ced56..b5193a0 100644 --- a/component/video/dec/vc1/Exynos_OMX_Wmvdec.c +++ b/component/video/dec/vc1/Exynos_OMX_Wmvdec.c @@ -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);