| Index: webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc
|
| diff --git a/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc b/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc
|
| index 869657b972d08ca795794d0d4cec7a6e2824bbc9..2b7f7195d54bcf822606ce93848e07ba207095c5 100644
|
| --- a/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc
|
| +++ b/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc
|
| @@ -315,14 +315,14 @@ void ScreenshareLayers::UpdateHistograms() {
|
| "WebRTC.Video.Screenshare.Layer1.FrameRate",
|
| (stats_.num_tl1_frames_ + (duration_sec / 2)) / duration_sec);
|
| int total_frames = stats_.num_tl0_frames_ + stats_.num_tl1_frames_;
|
| - RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.Screenshare.FramesPerDrop",
|
| - stats_.num_dropped_frames_ == 0
|
| - ? 0
|
| - : total_frames / stats_.num_dropped_frames_);
|
| - RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.Screenshare.FramesPerOvershoot",
|
| - stats_.num_overshoots_ == 0
|
| - ? 0
|
| - : total_frames / stats_.num_overshoots_);
|
| + RTC_HISTOGRAM_COUNTS_10000(
|
| + "WebRTC.Video.Screenshare.FramesPerDrop",
|
| + (stats_.num_dropped_frames_ == 0 ? 0 : total_frames /
|
| + stats_.num_dropped_frames_));
|
| + RTC_HISTOGRAM_COUNTS_10000(
|
| + "WebRTC.Video.Screenshare.FramesPerOvershoot",
|
| + (stats_.num_overshoots_ == 0 ? 0
|
| + : total_frames / stats_.num_overshoots_));
|
| if (stats_.num_tl0_frames_ > 0) {
|
| RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.Screenshare.Layer0.Qp",
|
| stats_.tl0_qp_sum_ / stats_.num_tl0_frames_);
|
|
|