Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: webrtc/modules/video_coding/frame_buffer2.cc

Issue 2444193010: Delete FrameObject::size member. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8bb19ba003210968eacd4370c33717ebabad1a50..daac7d5c2b2d691e84a7c0a83e93ec3b20e3823f 100644
--- a/webrtc/modules/video_coding/frame_buffer2.cc
+++ b/webrtc/modules/video_coding/frame_buffer2.cc
@@ -119,7 +119,7 @@ FrameBuffer::ReturnReason FrameBuffer::NextFrame(
int64_t frame_delay;
if (inter_frame_delay_.CalculateDelay(timestamp, &frame_delay,
received_time)) {
- jitter_estimator_->UpdateEstimate(frame_delay, frame->size);
+ jitter_estimator_->UpdateEstimate(frame_delay, frame->size());
}
float rtt_mult = protection_mode_ == kProtectionNackFEC ? 0.0 : 1.0;
timing_->SetJitterDelay(jitter_estimator_->GetJitterEstimate(rtt_mult));
« no previous file with comments | « no previous file | webrtc/modules/video_coding/frame_object.h » ('j') | webrtc/modules/video_coding/frame_object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698