| Index: webrtc/video/send_statistics_proxy.cc
|
| diff --git a/webrtc/video/send_statistics_proxy.cc b/webrtc/video/send_statistics_proxy.cc
|
| index 32b79023c8495de9a06150197b80b135e1628239..daaa55856898a4c4e0cdb5289191a337abcca785 100644
|
| --- a/webrtc/video/send_statistics_proxy.cc
|
| +++ b/webrtc/video/send_statistics_proxy.cc
|
| @@ -189,7 +189,7 @@ void SendStatisticsProxy::OnSendEncodedImage(
|
| stats->height = encoded_image._encodedHeight;
|
| update_times_[ssrc].resolution_update_ms = clock_->TimeInMilliseconds();
|
|
|
| - key_frame_counter_.Add(encoded_image._frameType == kKeyFrame);
|
| + key_frame_counter_.Add(encoded_image._frameType == kVideoFrameKey);
|
|
|
| if (encoded_image.adapt_reason_.quality_resolution_downscales != -1) {
|
| bool downscaled =
|
|
|