[PATCH] media: mediatek: venc: Add h264 extended profile support
Allen-KH Cheng
allen-kh.cheng at mediatek.com
Thu Sep 15 04:51:35 PDT 2022
Add h264 extended profile support
Signed-off-by: Allen-KH Cheng <allen-kh.cheng at mediatek.com>
Co-developed-by: kyrie wu <kyrie.wu at mediatek.com>
Signed-off-by: kyrie wu <kyrie.wu at mediatek.com>
---
drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c b/drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c
index 13c4f860fa69..ac2ef6275d78 100644
--- a/drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c
+++ b/drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c
@@ -243,8 +243,7 @@ static unsigned int h264_get_profile(struct venc_h264_inst *inst,
mtk_vcodec_err(inst, "unsupported CONSTRAINED_BASELINE");
return 0;
case V4L2_MPEG_VIDEO_H264_PROFILE_EXTENDED:
- mtk_vcodec_err(inst, "unsupported EXTENDED");
- return 0;
+ return 88;
default:
mtk_vcodec_debug(inst, "unsupported profile %d", profile);
return 100;
--
2.18.0
More information about the Linux-mediatek
mailing list