Index: webrtc/modules/video_coding/jitter_estimator.cc |
diff --git a/webrtc/modules/video_coding/jitter_estimator.cc b/webrtc/modules/video_coding/jitter_estimator.cc |
index 8270c60e01f1796470ab9c575afccc99ebe9eb40..b92ed67e110dc424a184c599b3864c657773d90e 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(); |