libOMX: fix videosize limits

Change-Id: Ia0aebad0fe52dc66e083dd1a891b0db152790c6a
This commit is contained in:
Shilin Victor 2019-01-14 21:34:55 +03:00
parent 426683a8eb
commit 47aba10dfc

View file

@ -970,7 +970,7 @@ OMX_ERRORTYPE SEC_MFC_H264_Decode_Nonblock(OMX_COMPONENTTYPE *pOMXComponent, SEC
FunctionIn(); FunctionIn();
if (pSECInputPort->portDefinition.format.video.nFrameWidth > 1920 || if (pSECInputPort->portDefinition.format.video.nFrameWidth > 1920 ||
pSECInputPort->portDefinition.format.video.nFrameHeight > 1088) { pSECInputPort->portDefinition.format.video.nFrameHeight > 1280) {
SEC_OSAL_Log(SEC_LOG_ERROR, "Unsupported video size: %d, %d.", SEC_OSAL_Log(SEC_LOG_ERROR, "Unsupported video size: %d, %d.",
pSECInputPort->portDefinition.format.video.nFrameWidth, pSECInputPort->portDefinition.format.video.nFrameWidth,
pSECInputPort->portDefinition.format.video.nFrameHeight); pSECInputPort->portDefinition.format.video.nFrameHeight);