Fix race condition with reading between video_current_pts and video_current_pts_time.