Index: webrtc/video/receive_statistics_proxy.h |
diff --git a/webrtc/video/receive_statistics_proxy.h b/webrtc/video/receive_statistics_proxy.h |
index 2e93d70f153770d775a3fd08112b7570ca7cb518..8a149af39c3fd9d900baa3f6153562ebe7e98538 100644 |
--- a/webrtc/video/receive_statistics_proxy.h |
+++ b/webrtc/video/receive_statistics_proxy.h |
@@ -47,8 +47,6 @@ class ReceiveStatisticsProxy : public VCMReceiveStatisticsCallback, |
VideoReceiveStream::Stats GetStats() const; |
- rtc::Optional<TimingFrameInfo> GetAndResetTimingFrameInfo(); |
- |
void OnDecodedFrame(rtc::Optional<uint8_t> qp, VideoContentType content_type); |
void OnSyncOffsetUpdated(int64_t sync_offset_ms, double estimated_freq_khz); |
void OnRenderedFrame(const VideoFrame& frame); |
@@ -167,7 +165,8 @@ class ReceiveStatisticsProxy : public VCMReceiveStatisticsCallback, |
mutable std::map<int64_t, size_t> frame_window_ GUARDED_BY(&crit_); |
VideoContentType last_content_type_ GUARDED_BY(&crit_); |
rtc::Optional<int64_t> last_decoded_frame_time_ms_ GUARDED_BY(&crit_); |
- rtc::Optional<TimingFrameInfo> timing_frame_info_ GUARDED_BY(&crit_); |
+ mutable rtc::MovingMaxCounter<TimingFrameInfo> timing_frame_info_counter_ |
+ GUARDED_BY(&crit_); |
sprang_webrtc
2017/08/31 13:24:43
uhg. mutable :(
If it's needed, can you comment wh
ilnik
2017/08/31 13:32:59
It's necessary here. Commented on it.
|
}; |
} // namespace webrtc |