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 ca8c0d957148233f56ca07debc8dbf8aad155bb8..d4b0bdf584b2341bdcc2fe4af0fd0cac0bdce7f7 100644 |
--- a/webrtc/modules/video_coding/jitter_buffer.cc |
+++ b/webrtc/modules/video_coding/jitter_buffer.cc |
@@ -1243,9 +1243,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_); |
} |