Index: webrtc/modules/video_coding/frame_buffer2.cc |
diff --git a/webrtc/modules/video_coding/frame_buffer2.cc b/webrtc/modules/video_coding/frame_buffer2.cc |
index a783657f3ef7cb7bda69211da1cc2224a453e1d3..7fcb728ae411ff5afeeb127b51a9f28f00dc3ccf 100644 |
--- a/webrtc/modules/video_coding/frame_buffer2.cc |
+++ b/webrtc/modules/video_coding/frame_buffer2.cc |
@@ -277,7 +277,8 @@ int FrameBuffer::InsertFrame(std::unique_ptr<FrameObject> frame) { |
TRACE_EVENT0("webrtc", "FrameBuffer::InsertFrame"); |
RTC_DCHECK(frame); |
if (stats_callback_) |
- stats_callback_->OnCompleteFrame(frame->is_keyframe(), frame->size()); |
+ stats_callback_->OnCompleteFrame(frame->is_keyframe(), frame->size(), |
+ frame->contentType()); |
FrameKey key(frame->picture_id, frame->spatial_layer); |
rtc::CritScope lock(&crit_); |