Index: webrtc/test/fake_encoder.h |
diff --git a/webrtc/test/fake_encoder.h b/webrtc/test/fake_encoder.h |
index 57b39a4404ed857b3e4c4cc7323e9e1f2fb0034e..d5e7b480dfeac2bb47057921f38f16db8c764022 100644 |
--- a/webrtc/test/fake_encoder.h |
+++ b/webrtc/test/fake_encoder.h |
@@ -39,8 +39,7 @@ |
EncodedImageCallback* callback) override; |
int32_t Release() override; |
int32_t SetChannelParameters(uint32_t packet_loss, int64_t rtt) override; |
- int32_t SetRateAllocation(const BitrateAllocation& rate_allocation, |
- uint32_t framerate) override; |
+ int32_t SetRates(uint32_t new_target_bitrate, uint32_t framerate) override; |
const char* ImplementationName() const override; |
static const char* kImplementationName; |
@@ -49,7 +48,7 @@ |
Clock* const clock_; |
VideoCodec config_; |
EncodedImageCallback* callback_; |
- BitrateAllocation target_bitrate_; |
+ int target_bitrate_kbps_; |
int max_target_bitrate_kbps_; |
int64_t last_encode_time_ms_; |
uint8_t encoded_buffer_[100000]; |