Merge "msm: vidc: fix sub_frame flag when fetch ts"

This commit is contained in:
qctecmdr 2020-07-17 11:31:01 -07:00 • committed by Gerrit - the friendly Code Review server
commit fdffed7083

View file

@ -7764,7 +7764,7 @@ int msm_comm_fetch_ts_framerate(struct msm_vidc_inst *inst,
}
/* do not update is_valid flag for subframe buffer */
if (!(b->flags & HAL_BUFFERFLAG_ENDOFSUBFRAME))
if (!(b->flags & V4L2_BUF_FLAG_END_OF_SUBFRAME))
node->is_valid = false;
b->timestamp.tv_sec = node->timestamp_us / 1000000ull;