mirror of
https://github.com/followmsi/android_hardware_qcom_media.git
synced 2024-10-31 22:47:35 +00:00
Merge "mm-video-v4l2: vidc: venc: Remove unspported Levels" into video-userspace.lnx.2.1-dev
This commit is contained in:
commit
5deb3a89f9
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue