di: modify true bypass conditions

PD#155786: di: modify true bypass conditions

Change-Id: I5e8ef74b87915870089497166d272830ceb453db
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
This commit is contained in:
Bencheng Jing
2017-12-19 13:26:30 +08:00
committed by Jianxin Pan
parent 7f22cf4c89
commit 39627ff3ea

View File

@@ -6323,13 +6323,13 @@ static struct rdma_op_s di_rdma_op = {
#endif
static bool need_bypass(struct vframe_s *vf)
{
if (vf->source_type & VIDTYPE_MVC)
if (vf->type & VIDTYPE_MVC)
return true;
if (vf->source_type == VFRAME_SOURCE_TYPE_PPMGR)
return true;
if (vf->source_type & VIDTYPE_VIU_444)
if (vf->type & VIDTYPE_VIU_444)
return true;
if (vf->type & VIDTYPE_PIC)