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

Commit 6c31d9e6 authored by Qiwei Liu's avatar Qiwei Liu Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: modify EOS timestamp to zero



When using LLONG_MAX for EOS timestamp, some clients
or tests would assume the timestamp is invalid and
report failure even when this is EOS buffer.
Modify EOS timestamp to zero to avoid such issues.

CRs-Fixed: 2257605
Change-Id: I029201a0143c4eee4bed654ea75f529ff62b974b
Signed-off-by: default avatarQiwei Liu <qiweil@codeaurora.org>
parent 1f668377
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3923,7 +3923,7 @@ int msm_vidc_send_pending_eos_buffers(struct msm_vidc_inst *inst)
		data.filled_len = 0;
		data.offset = 0;
		data.flags = HAL_BUFFERFLAG_EOS;
		data.timestamp = LLONG_MAX;
		data.timestamp = 0;
		data.extradata_addr = data.device_addr;
		data.extradata_size = 0;
		dprintk(VIDC_DBG, "Queueing EOS buffer 0x%x\n",