Index: webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc |
diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc b/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc |
index 1917789b7c90898d3731e689d98308f2399a63d0..274087b01de0f91716996ce3dd2672263e3871d3 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc |
+++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc |
@@ -12,7 +12,6 @@ |
#include "webrtc/modules/remote_bitrate_estimator/test/estimators/remb.h" |
-#include "webrtc/base/common.h" |
#include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" |
#include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.h" |
#include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" |
@@ -120,12 +119,13 @@ FeedbackPacket* RembReceiver::GetFeedback(int64_t now_ms) { |
estimated_bps, latest_report_block_); |
last_feedback_ms_ = now_ms; |
+#if BWE_TEST_LOGGING_COMPILE_TIME_ENABLE |
double estimated_kbps = static_cast<double>(estimated_bps) / 1000.0; |
- RTC_UNUSED(estimated_kbps); |
if (plot_estimate_) { |
BWE_TEST_LOGGING_PLOT(0, estimate_log_prefix_, |
clock_.TimeInMilliseconds(), estimated_kbps); |
} |
+#endif |
} |
return feedback; |
} |