Chromium Code Reviews| 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..2ccf57ca0b47a5f7f32eae5b6cec9701f6123445 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) << "First completed key frame received"; |
|
pthatcher1
2016/03/05 01:17:05
Nit: And here: "Received first ..."
skvlad
2016/03/07 19:36:53
Done.
|
| + } |
| } else { |
| ++receive_statistics_.delta_frames; |
| } |
| + |
| if (stats_callback_ != NULL) |
| stats_callback_->OnFrameCountsUpdated(receive_statistics_); |
| } |