Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2f86b09 authored by Chandrakant I Viraktamath's avatar Chandrakant I Viraktamath
Browse files

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: default avatarChandrakant I Viraktamath <civirakt@codeaurora.org>
parent c6433185
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);