Index: webrtc/modules/video_coding/video_sender_unittest.cc |
diff --git a/webrtc/modules/video_coding/video_sender_unittest.cc b/webrtc/modules/video_coding/video_sender_unittest.cc |
index 923144e3d8778cdd91228e440fd9b135766f2645..a3766c1d64b4b92c5898e70363b929d6081ef5b4 100644 |
--- a/webrtc/modules/video_coding/video_sender_unittest.cc |
+++ b/webrtc/modules/video_coding/video_sender_unittest.cc |
@@ -93,13 +93,13 @@ class EncodedImageCallbackImpl : public EncodedImageCallback { |
virtual ~EncodedImageCallbackImpl() {} |
- int32_t Encoded(const EncodedImage& encoded_image, |
- const CodecSpecificInfo* codec_specific_info, |
- const RTPFragmentationHeader* fragmentation) override { |
+ Result OnEncodedImage(const EncodedImage& encoded_image, |
+ const CodecSpecificInfo* codec_specific_info, |
+ const RTPFragmentationHeader* fragmentation) override { |
assert(codec_specific_info); |
frame_data_.push_back( |
FrameData(encoded_image._length, *codec_specific_info)); |
- return 0; |
+ return Result(Result::OK, encoded_image._timeStamp); |
} |
void Reset() { |