From e2f86b092aa9837714a9efc3004eed226890f1d6 Mon Sep 17 00:00:00 2001 From: Chandrakant I Viraktamath Date: Fri, 16 Oct 2020 17:36:18 +0530 Subject: [PATCH] msm: vidc: fix ts reorder for heif Fix logic for ts reorder in heif decoder since default value of disable timestamp reorder control is 0. Change-Id: I56cb8c40d99c3a3de867da659005faebd201be80 Signed-off-by: Chandrakant I Viraktamath --- msm/vidc/msm_vidc_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msm/vidc/msm_vidc_common.h b/msm/vidc/msm_vidc_common.h index 779f0c8cbf96..5340ff8e1bcf 100644 --- a/msm/vidc/msm_vidc_common.h +++ b/msm/vidc/msm_vidc_common.h @@ -169,8 +169,8 @@ static inline bool is_ts_reorder_allowed(struct msm_vidc_inst *inst) if (inst->session_type != MSM_VIDC_DECODER) return true; - if (!is_heif_decoder(inst)) - return true; + if (is_heif_decoder(inst)) + return false; ctrl = get_ctrl(inst, V4L2_CID_MPEG_VIDC_VIDEO_DISABLE_TIMESTAMP_REORDER);