Fixed a/v sync issue.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/649004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2402 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mflodman@webrtc.org
2012-06-14 11:08:51 +00:00
parent 46d83fa26c
commit 139c4678c1

View File

@ -138,7 +138,7 @@ WebRtc_Word32 ViESyncModule::Process() {
// negative
int NTPdiff = (audio_received_ntp_secs - video_received_ntp_secs)
* 1000; // ms
NTPdiff += static_cast<int>(audio_received_ntp_secs / FracMS -
NTPdiff += static_cast<int>(audio_received_ntp_frac / FracMS -
video_received_ntp_frac / FracMS);
int RTCPdiff = (audio_rtcp_arrivaltime_secs - video_rtcp_arrivaltime_secs)