fix delay calculation between video packets