Skip to content
Commit 9bb9a57d authored by Shijie Qin's avatar Shijie Qin Committed by Xiaolei Wang
Browse files

LF-5604 imx8m: vpu_dec: handle invalid timestamp which tv_sec or tv_usec is negative

commit  de5ba8eb72a6d143fa6e8b37c69970175511abf4 from
https://github.com/nxp-imx/linux-imx

 lf-6.1.y

If tv_usec is negative, which convert to u32 is a big positive value,
thus will confusing timestamp manager. Use 'BUF_FLAG_TIMESTAMP_INVALID'
to idicate such invalid timestamp which tv_sec or tv_usec is negative.

Signed-off-by: default avatarShijie Qin <shijie.qin@nxp.com>
Reviewed-by: default avatarming_qian <ming.qian@nxp.com>
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
parent 1417e0a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment