Index: webrtc/modules/video_coding/jitter_buffer.cc |
diff --git a/webrtc/modules/video_coding/jitter_buffer.cc b/webrtc/modules/video_coding/jitter_buffer.cc |
index f048b0a883ce627b35d74f67871425c143460151..4e012f6972c827367760fcf2471313178e68ddcd 100644 |
--- a/webrtc/modules/video_coding/jitter_buffer.cc |
+++ b/webrtc/modules/video_coding/jitter_buffer.cc |
@@ -1282,9 +1282,13 @@ void VCMJitterBuffer::CountFrame(const VCMFrameBuffer& frame) { |
if (frame.IsSessionComplete()) { |
if (frame.FrameType() == kVideoFrameKey) { |
++receive_statistics_.key_frames; |
+ if (receive_statistics_.key_frames == 1) { |
+ LOG(LS_INFO) << "Received first complete key frame"; |
+ } |
} else { |
++receive_statistics_.delta_frames; |
} |
+ |
if (stats_callback_ != NULL) |
stats_callback_->OnFrameCountsUpdated(receive_statistics_); |
} |