| Index: webrtc/video/stats_counter.cc
|
| diff --git a/webrtc/video/stats_counter.cc b/webrtc/video/stats_counter.cc
|
| index 42d23adcfc60f71015e690090c8d779e47959421..5bcef991d29997808c7c20bdaa276c980ecdb01f 100644
|
| --- a/webrtc/video/stats_counter.cc
|
| +++ b/webrtc/video/stats_counter.cc
|
| @@ -74,6 +74,10 @@ AggregatedStats StatsCounter::GetStats() {
|
| return aggregated_counter_->ComputeStats();
|
| }
|
|
|
| +bool StatsCounter::HasSample() const {
|
| + return last_process_time_ms_ != -1;
|
| +}
|
| +
|
| bool StatsCounter::TimeToProcess() {
|
| int64_t now = clock_->TimeInMilliseconds();
|
| if (last_process_time_ms_ == -1)
|
|
|