Index: webrtc/video/vie_encoder_unittest.cc |
diff --git a/webrtc/video/vie_encoder_unittest.cc b/webrtc/video/vie_encoder_unittest.cc |
index 895109773f16a0837742c6730e2523143f3d1afb..9f4fdc47e33094d3577dbe4f05eb226bfb37a173 100644 |
--- a/webrtc/video/vie_encoder_unittest.cc |
+++ b/webrtc/video/vie_encoder_unittest.cc |
@@ -208,14 +208,15 @@ |
} |
private: |
- 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 { |
rtc::CritScope lock(&crit_); |
EXPECT_TRUE(expect_frames_); |
timestamp_ = encoded_image._timeStamp; |
encoded_frame_event_.Set(); |
- return 0; |
+ return Result(Result::OK, timestamp_); |
} |
void OnEncoderConfigurationChanged(std::vector<VideoStream> streams, |