Index: webrtc/modules/video_coding/main/source/media_optimization.cc |
diff --git a/webrtc/modules/video_coding/main/source/media_optimization.cc b/webrtc/modules/video_coding/main/source/media_optimization.cc |
index b4c1be2815b824fb0969c23a0528fb8c628563f0..327c8b4b5719048bccbf98f73c9f0c0094b75862 100644 |
--- a/webrtc/modules/video_coding/main/source/media_optimization.cc |
+++ b/webrtc/modules/video_coding/main/source/media_optimization.cc |
@@ -372,7 +372,7 @@ int32_t MediaOptimization::UpdateWithEncodedData( |
UpdateSentBitrate(now_ms); |
UpdateSentFramerate(); |
if (encoded_length > 0) { |
- const bool delta_frame = encoded_image._frameType != kKeyFrame; |
+ const bool delta_frame = encoded_image._frameType != kVideoFrameKey; |
frame_dropper_->Fill(encoded_length, delta_frame); |
if (max_payload_size_ > 0 && encoded_length > 0) { |