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

Unified Diff: webrtc/video/video_receive_stream.cc

Issue 1228393008: Add resolution and fps stats to histograms. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: added render fps Created 5 years, 5 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: webrtc/video/video_receive_stream.cc
diff --git a/webrtc/video/video_receive_stream.cc b/webrtc/video/video_receive_stream.cc
index d7874fa0dfdd51355c9caef85c34bac424324f86..e757bd1d8c345a9ead00b347f473bdbf885552c0 100644
--- a/webrtc/video/video_receive_stream.cc
+++ b/webrtc/video/video_receive_stream.cc
@@ -318,7 +318,7 @@ int VideoReceiveStream::RenderFrame(const uint32_t /*stream_id*/,
video_frame,
video_frame.render_time_ms() - clock_->TimeInMilliseconds());
- stats_proxy_->OnRenderedFrame();
+ stats_proxy_->OnRenderedFrame(video_frame.width(), video_frame.height());
return 0;
}
« webrtc/video/send_statistics_proxy.cc ('K') | « webrtc/video/video_capture_input.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698