Skip to content

Commit e13b234

Browse files
nadinsylaakhusika
authored andcommitted
mm-video: Recognise "OMX.qcom.video.decoder.divx4" when setting role
Setting the component role for the "OMX.qcom.video.decoder.divx4" component triggered an incorrect claiming that the component wasn't recognised. This is a valid component. Change-Id: Iebb4da0171bdd2dc6266120c86d14ad452dbb8bf CRs-Fixed: 759443
1 parent 8a403fc commit e13b234

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mm-video/vidc/vdec/src/omx_vdec.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3556,7 +3556,8 @@ OMX_ERRORTYPE omx_vdec::set_parameter(OMX_IN OMX_HANDLETYPE hComp,
35563556
}
35573557
#ifdef MAX_RES_1080P
35583558
else if((!strncmp(drv_ctx.kind, "OMX.qcom.video.decoder.divx",OMX_MAX_STRINGNAME_SIZE)) ||
3559-
(!strncmp(drv_ctx.kind, "OMX.qcom.video.decoder.divx311",OMX_MAX_STRINGNAME_SIZE))
3559+
(!strncmp(drv_ctx.kind, "OMX.qcom.video.decoder.divx311",OMX_MAX_STRINGNAME_SIZE)) ||
3560+
(!strncmp(drv_ctx.kind, "OMX.qcom.video.decoder.divx4", OMX_MAX_STRINGNAME_SIZE))
35603561
)
35613562
#else
35623563
else if(!strncmp(drv_ctx.kind, "OMX.qcom.video.decoder.divx",OMX_MAX_STRINGNAME_SIZE))

0 commit comments

Comments
 (0)