mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-10-31 15:36:27 +00:00
libOMX: fix videosize limits
Change-Id: Ia0aebad0fe52dc66e083dd1a891b0db152790c6a
This commit is contained in:
parent
426683a8eb
commit
47aba10dfc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue