Index: webrtc/modules/video_coding/codecs/test/videoprocessor.cc |
diff --git a/webrtc/modules/video_coding/codecs/test/videoprocessor.cc b/webrtc/modules/video_coding/codecs/test/videoprocessor.cc |
index e969fb7fb9f2d9260285023e4f3969b0bac2245b..7b0c8e397e3ef5310cd0ebf66eae4728e14e00ac 100644 |
--- a/webrtc/modules/video_coding/codecs/test/videoprocessor.cc |
+++ b/webrtc/modules/video_coding/codecs/test/videoprocessor.cc |
@@ -410,7 +410,8 @@ const char* VideoCodecTypeToStr(webrtc::VideoCodecType e) { |
} |
// Callbacks |
-int32_t VideoProcessorImpl::VideoProcessorEncodeCompleteCallback::Encoded( |
+EncodedImageCallback::Result |
+VideoProcessorImpl::VideoProcessorEncodeCompleteCallback::OnEncodedImage( |
const EncodedImage& encoded_image, |
const webrtc::CodecSpecificInfo* codec_specific_info, |
const webrtc::RTPFragmentationHeader* fragmentation) { |
@@ -419,7 +420,7 @@ int32_t VideoProcessorImpl::VideoProcessorEncodeCompleteCallback::Encoded( |
video_processor_->FrameEncoded(codec_specific_info->codecType, |
encoded_image, |
fragmentation); |
- return 0; |
+ return Result(Result::OK, 0); |
} |
int32_t VideoProcessorImpl::VideoProcessorDecodeCompleteCallback::Decoded( |
VideoFrame& image) { |