| Index: webrtc/test/configurable_frame_size_encoder.cc
|
| diff --git a/webrtc/test/configurable_frame_size_encoder.cc b/webrtc/test/configurable_frame_size_encoder.cc
|
| index bef62405dd65211fbe935c1740e08b7ffdcab4ad..905b69aae8131801f14a6cbe2688db6b7fc1180e 100644
|
| --- a/webrtc/test/configurable_frame_size_encoder.cc
|
| +++ b/webrtc/test/configurable_frame_size_encoder.cc
|
| @@ -12,7 +12,6 @@
|
|
|
| #include <string.h>
|
|
|
| -#include "webrtc/base/checks.h"
|
| #include "webrtc/common_video/include/video_image.h"
|
| #include "webrtc/modules/video_coding/include/video_codec_interface.h"
|
| #include "webrtc/test/gtest.h"
|
| @@ -73,9 +72,8 @@
|
| return WEBRTC_VIDEO_CODEC_OK;
|
| }
|
|
|
| -int32_t ConfigurableFrameSizeEncoder::SetRateAllocation(
|
| - const BitrateAllocation& allocation,
|
| - uint32_t framerate) {
|
| +int32_t ConfigurableFrameSizeEncoder::SetRates(uint32_t new_bit_rate,
|
| + uint32_t frame_rate) {
|
| return WEBRTC_VIDEO_CODEC_OK;
|
| }
|
|
|
| @@ -84,7 +82,7 @@
|
| }
|
|
|
| int32_t ConfigurableFrameSizeEncoder::SetFrameSize(size_t size) {
|
| - RTC_DCHECK_LE(size, max_frame_size_);
|
| + assert(size <= max_frame_size_);
|
| current_frame_size_ = size;
|
| return WEBRTC_VIDEO_CODEC_OK;
|
| }
|
|
|