Index: webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h |
diff --git a/webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h b/webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h |
index ce024973cfce6eb90bc5b22d322c2fcf1c6b1a30..7e2076ccdc1cff805dcf087cfbdb805c6a8079f8 100644 |
--- a/webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h |
+++ b/webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h |
@@ -45,6 +45,9 @@ class MockVideoEncoder : public VideoEncoder { |
MOCK_METHOD0(Reset, int32_t()); |
MOCK_METHOD2(SetChannelParameters, int32_t(uint32_t packetLoss, int64_t rtt)); |
MOCK_METHOD2(SetRates, int32_t(uint32_t newBitRate, uint32_t frameRate)); |
+ MOCK_METHOD2(SetRateAllocation, |
+ int32_t(const BitrateAllocation& newBitRate, |
+ uint32_t frameRate)); |
MOCK_METHOD1(SetPeriodicKeyFrames, int32_t(bool enable)); |
}; |