Index: webrtc/modules/video_coding/timing.h |
diff --git a/webrtc/modules/video_coding/timing.h b/webrtc/modules/video_coding/timing.h |
index bfd6778c123c5bfb7ea2750f4f1cd89e756ed531..82252bf3fe0f3e8756ddaf419b2ba21b3a616efd 100644 |
--- a/webrtc/modules/video_coding/timing.h |
+++ b/webrtc/modules/video_coding/timing.h |
@@ -102,6 +102,9 @@ class VCMTiming { |
int* min_playout_delay_ms, |
int* render_delay_ms) const; |
+ void SetTimingFrameInfo(const TimingFrameInfo& info); |
+ rtc::Optional<TimingFrameInfo> GetTimingFrameInfo(); |
+ |
enum { kDefaultRenderDelayMs = 10 }; |
enum { kDelayMaxChangeMsPerS = 100 }; |
@@ -131,6 +134,7 @@ class VCMTiming { |
int current_delay_ms_ GUARDED_BY(crit_sect_); |
int last_decode_ms_ GUARDED_BY(crit_sect_); |
uint32_t prev_frame_timestamp_ GUARDED_BY(crit_sect_); |
+ rtc::Optional<TimingFrameInfo> timing_frame_info_ GUARDED_BY(crit_sect_); |
// Statistics. |
size_t num_decoded_frames_ GUARDED_BY(crit_sect_); |