| Index: webrtc/video/video_send_stream.cc
|
| diff --git a/webrtc/video/video_send_stream.cc b/webrtc/video/video_send_stream.cc
|
| index cb9ff4100d86343730c595f2c9907313dd14f9f8..940e1cc4e0216b93519c33df653dab21eefc1a79 100644
|
| --- a/webrtc/video/video_send_stream.cc
|
| +++ b/webrtc/video/video_send_stream.cc
|
| @@ -720,10 +720,9 @@
|
| config_.overuse_callback->OnLoadUpdate(LoadObserver::kUnderuse);
|
| }
|
|
|
| -EncodedImageCallback::Result VideoSendStream::OnEncodedImage(
|
| - const EncodedImage& encoded_image,
|
| - const CodecSpecificInfo* codec_specific_info,
|
| - const RTPFragmentationHeader* fragmentation) {
|
| +int32_t VideoSendStream::Encoded(const EncodedImage& encoded_image,
|
| + const CodecSpecificInfo* codec_specific_info,
|
| + const RTPFragmentationHeader* fragmentation) {
|
| if (config_.post_encode_callback) {
|
| config_.post_encode_callback->EncodedFrameCallback(
|
| EncodedFrame(encoded_image._buffer, encoded_image._length,
|
| @@ -731,7 +730,7 @@
|
| }
|
|
|
| protection_bitrate_calculator_.UpdateWithEncodedData(encoded_image);
|
| - EncodedImageCallback::Result result = payload_router_.OnEncodedImage(
|
| + int32_t return_value = payload_router_.Encoded(
|
| encoded_image, codec_specific_info, fragmentation);
|
|
|
| if (kEnableFrameRecording) {
|
| @@ -757,7 +756,7 @@
|
| }
|
| }
|
|
|
| - return result;
|
| + return return_value;
|
| }
|
|
|
| void VideoSendStream::ConfigureProtection() {
|
|
|