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 <civirakt@codeaurora.org>
This commit is contained in:
Chandrakant I Viraktamath 2020-10-16 17:36:18 +05:30
commit e2f86b092a

View file

@ -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);