From 8bcd4d0f3a8db12b2759f6553e30b912436c2d5f Mon Sep 17 00:00:00 2001 From: "Christopher N. Hesse" Date: Wed, 24 Jun 2015 00:53:52 +0200 Subject: [PATCH] vc1: Fix OMX_IndexVendorThumbnailMode usage Apparently there was a mismatch between the header and the actual code. Change-Id: Icb877468f55fd81f98b6498fc02578e538211615 --- component/video/dec/vc1/Exynos_OMX_Wmvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1