commit | 9ad99a7ff05132f8acd4f24b1acd9dfc88e37489 | [log] [tgz] |
---|---|---|
author | Sanjay Singh <sisanj@codeaurora.org> | Wed Jul 01 05:19:46 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jul 01 05:19:46 2020 +0000 |
tree | 9177cbff96b39f6013822f0f8e36637c30de773a | |
parent | 93cae4cf12c84767d84d4a220b36c538855ff89d [diff] | |
parent | 6290468c22ecccf32ebfc4438dd9ff0b67022048 [diff] |
mm-video-v4l2: venc: Correction in profile check for H.264 am: 6290468c22 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/media/+/11999650 Change-Id: I32786b03ec44d556afac673b8c973469f3d48a8b
diff --git a/msm8998/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp b/msm8998/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp index 0bdd914..ef691d6 100644 --- a/msm8998/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp +++ b/msm8998/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp
@@ -7733,10 +7733,12 @@ profile_tbl = (unsigned int const *)h264_profile_level_table; if ((*eProfile != OMX_VIDEO_AVCProfileBaseline) && - (*eProfile != QOMX_VIDEO_AVCProfileConstrainedBaseline) && + (*eProfile != OMX_VIDEO_AVCProfileMain) && (*eProfile != OMX_VIDEO_AVCProfileHigh) && - (*eProfile != QOMX_VIDEO_AVCProfileConstrainedHigh) && - (*eProfile != OMX_VIDEO_AVCProfileMain)) { + (*eProfile != OMX_VIDEO_AVCProfileConstrainedBaseline) && + (*eProfile != QOMX_VIDEO_AVCProfileConstrainedBaseline) && + (*eProfile != OMX_VIDEO_AVCProfileConstrainedHigh) && + (*eProfile != QOMX_VIDEO_AVCProfileConstrainedHigh)) { DEBUG_PRINT_LOW("Unsupported AVC profile type %u", (unsigned int)*eProfile); return false; }