Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Unified Diff: media/cast/rtp_sender/rtp_sender.cc

Issue 34623008: Change to calculate the real NTP in TimeTicks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits in Time Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..b630a0780d2784ebd616aacdd18444f398b3ec38 100644
--- a/media/cast/rtp_sender/rtp_sender.cc
+++ b/media/cast/rtp_sender/rtp_sender.cc
@@ -121,7 +121,7 @@ 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.ToInternalValue(), &ntp_seconds, &ntp_fraction);
sender_info->ntp_seconds = ntp_seconds;
sender_info->ntp_fraction = ntp_fraction;

Powered by Google App Engine
This is Rietveld 408576698