Merge "mm-video-v4l2: vidc: venc: Remove unspported Levels" into video-userspace.lnx.2.1-dev

This commit is contained in:
Linux Build Service Account 2016-12-04 00:59:44 -08:00 committed by Gerrit - the friendly Code Review server
commit 5deb3a89f9

View file

@ -4751,10 +4751,7 @@ OMX_ERRORTYPE omx_video::get_supported_profile_level(OMX_VIDEO_PARAM_PROFILELEVE
} else if (m_sOutPortDef.format.video.eCompressionFormat == OMX_VIDEO_CodingHEVC) {
if (profileLevelType->nProfileIndex == 0) {
profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain;
profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel52;
} else if (profileLevelType->nProfileIndex == 1) {
profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain10;
profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel52;
profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel51;
} else {
DEBUG_PRINT_LOW("HEVC: get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %u",
(unsigned int)profileLevelType->nProfileIndex);