// Only report every second, since updating the UI can be expensive.
if (last_pts_reported == 0 || pts - last_pts_reported >= TIMEBASE) {
// Only report every second, since updating the UI can be expensive.
if (last_pts_reported == 0 || pts - last_pts_reported >= TIMEBASE) {