Index: webrtc/system_wrappers/source/rtp_to_ntp.cc |
diff --git a/webrtc/system_wrappers/source/rtp_to_ntp.cc b/webrtc/system_wrappers/source/rtp_to_ntp.cc |
index 6504737fd54bb32d84125bba2f8e4159a7005006..8c2e8e305a0a0d3ff9cda813b12f05034273df80 100644 |
--- a/webrtc/system_wrappers/source/rtp_to_ntp.cc |
+++ b/webrtc/system_wrappers/source/rtp_to_ntp.cc |
@@ -110,6 +110,9 @@ bool RtpToNtpMs(int64_t rtp_timestamp, |
&rtcp_timestamp_new)) { |
return false; |
} |
+ if (rtcp_timestamp_new < rtcp_timestamp_old) { |
stefan-webrtc
2016/09/28 09:18:05
Remove {}
åsapersson
2016/09/29 07:25:16
Done.
|
+ return false; |
stefan-webrtc
2016/09/28 09:18:05
Should we add a warning?
åsapersson
2016/09/29 07:25:16
Maybe UpdateRtcpList should be updated to have thi
stefan-webrtc
2016/09/30 08:40:46
Ok
|
+ } |
double freq_khz; |
if (!CalculateFrequency(rtcp_ntp_ms_new, |
rtcp_timestamp_new, |