diff --git a/webrtc/modules/video_coding/jitter_estimator.cc b/webrtc/modules/video_coding/jitter_estimator.cc index 8270c60e01..b92ed67e11 100644 --- a/webrtc/modules/video_coding/jitter_estimator.cc +++ b/webrtc/modules/video_coding/jitter_estimator.cc @@ -429,7 +429,7 @@ bool VCMJitterEstimator::LowRateExperimentEnabled() { } double VCMJitterEstimator::GetFrameRate() const { - if (fps_counter_.count() == 0) + if (fps_counter_.ComputeMean() == 0.0) return 0; double fps = 1000000.0 / fps_counter_.ComputeMean();