Index: media/cast/rtp_sender/rtp_sender.cc |
diff --git a/media/cast/rtp_sender/rtp_sender.cc b/media/cast/rtp_sender/rtp_sender.cc |
index d306c6e7aaa232ff2689d833f8cced3d1eb1f81a..62897145d49a2227267bd5959ee91a7bab6d4126 100644 |
--- a/media/cast/rtp_sender/rtp_sender.cc |
+++ b/media/cast/rtp_sender/rtp_sender.cc |
@@ -121,7 +121,8 @@ void RtpSender::RtpStatistics(const base::TimeTicks& now, |
// was captured. |
uint32 ntp_seconds = 0; |
uint32 ntp_fraction = 0; |
- ConvertTimeToNtp(now, &ntp_seconds, &ntp_fraction); |
+ ConvertTimeToFractions((now - base::TimeTicks()).InMicroseconds(), |
miu
2013/10/30 19:33:35
I'm confused: Did you mean to change this, or was
pwestin
2013/10/30 23:14:30
Yes you are correct, good catch
|
+ &ntp_seconds, &ntp_fraction); |
sender_info->ntp_seconds = ntp_seconds; |
sender_info->ntp_fraction = ntp_fraction; |