diff options
author | Vasantha Balla <vballa@codeaurora.org> | 2021-03-10 16:24:12 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-03-10 03:10:26 -0800 |
commit | 9110f5697bb523ab0acaadc4c8c32cf128d26d7b (patch) | |
tree | d13103674d38e152a3fe6f73b364f1cf59ffaefb | |
parent | e01098d4712761e2fc85be2476257101eb45eff9 (diff) |
mm-video: vdec: Update supported vp9 profiles
OMX_VIDEO_VP9Profile2 is not supported for kamorta.
So do not advertise this in profile query.
Change-Id: I1185680c664edfeb1aafd4f8b604ad544a6b2898
-rw-r--r-- | mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp b/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp index 29afb595..d600e983 100644 --- a/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp +++ b/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp @@ -3013,7 +3013,8 @@ OMX_ERRORTYPE omx_vdec::get_supported_profile_level(OMX_VIDEO_PARAM_PROFILELEVEL } if (m_disable_hdr & DEC_HDR_DISABLE_FLAG) { if (output_capability == V4L2_PIX_FMT_VP9) { - if (profileLevelType->eProfile == OMX_VIDEO_VP9Profile2HDR || profileLevelType->eProfile == OMX_VIDEO_VP9Profile2HDR10Plus) + if (profileLevelType->eProfile == OMX_VIDEO_VP9Profile2HDR || profileLevelType->eProfile == OMX_VIDEO_VP9Profile2HDR10Plus + || profileLevelType->eProfile == OMX_VIDEO_VP9Profile2) hdr_supported = false; } if (output_capability == V4L2_PIX_FMT_HEVC) { |