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

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc

Issue 2999343002: Fix compile error for the win_msvc_rel bot. (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc b/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc
index 64e6bf253c815913a39819d1056a16f37b245ebe..a8444b4bfe25fc88a03b8a98eddd5accc4f87a49 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc
+++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc
@@ -34,7 +34,7 @@ const float kDrainGain = 1 / kHighGain;
const float kStartupGrowthTarget = 1.25f;
const int kMaxRoundsWithoutGrowth = 3;
// Pacing gain values for Probe Bandwidth mode.
-const float kPacingGain[] = {1.1, 0.9, 1, 1, 1, 1, 1, 1};
+const float kPacingGain[] = {1.1f, 0.9f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f};
const size_t kGainCycleLength = sizeof(kPacingGain) / sizeof(kPacingGain[0]);
// Least number of rounds PROBE_RTT should last.
const int kProbeRttDurationRounds = 1;
@@ -112,8 +112,8 @@ BbrBweSender::BbrBweSender(BitrateObserver* observer, Clock* clock)
last_packet_ack_time_during_high_gain_ms_(-1),
data_acked_before_high_gain_started_bytes_(-1),
data_acked_before_high_gain_ended_bytes_(-1),
- first_packet_seq_num_during_high_gain_(-1),
- last_packet_seq_num_during_high_gain_(-1),
+ first_packet_seq_num_during_high_gain_(0),
+ last_packet_seq_num_during_high_gain_(0),
high_gain_over_(false),
packet_stats_(),
past_rtts_() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698