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

Unified Diff: media/cast/sender/video_sender.cc

Issue 2866943002: Give performance_browser_tests lots of love and attention. (Closed)
Patch Set: fix compile error Created 3 years, 7 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
« no previous file with comments | « media/cast/receiver/cast_receiver_impl.cc ('k') | media/cast/test/utility/udp_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/video_sender.cc
diff --git a/media/cast/sender/video_sender.cc b/media/cast/sender/video_sender.cc
index d81fab759676f742a67e3cdebbc8dfa2c6b9c46c..6be7d8078d1dcacbc6a3c8b79e681d484d20fc1c 100644
--- a/media/cast/sender/video_sender.cc
+++ b/media/cast/sender/video_sender.cc
@@ -145,11 +145,10 @@ void VideoSender::InsertRawVideoFrame(
rtp_timestamp);
// Used by chrome/browser/extension/api/cast_streaming/performance_test.cc
- TRACE_EVENT_INSTANT2(
- "cast_perf_test", "InsertRawVideoFrame",
- TRACE_EVENT_SCOPE_THREAD,
- "timestamp", reference_time.ToInternalValue(),
- "rtp_timestamp", rtp_timestamp.lower_32_bits());
+ TRACE_EVENT_INSTANT2("cast_perf_test", "InsertRawVideoFrame",
+ TRACE_EVENT_SCOPE_THREAD, "timestamp",
+ (reference_time - base::TimeTicks()).InMicroseconds(),
+ "rtp_timestamp", rtp_timestamp.lower_32_bits());
bool low_latency_mode;
if (video_frame->metadata()->GetBoolean(
« no previous file with comments | « media/cast/receiver/cast_receiver_impl.cc ('k') | media/cast/test/utility/udp_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698