Index: webrtc/test/fake_encoder.cc |
diff --git a/webrtc/test/fake_encoder.cc b/webrtc/test/fake_encoder.cc |
index 72df40f9a51690f3b81bd0c25f30cab36c23dff0..a3fb7686f10ff51282098b1dbe83bbf685293bf5 100644 |
--- a/webrtc/test/fake_encoder.cc |
+++ b/webrtc/test/fake_encoder.cc |
@@ -148,9 +148,10 @@ int32_t FakeH264Encoder::RegisterEncodeCompleteCallback( |
return 0; |
} |
-int32_t FakeH264Encoder::Encoded(const EncodedImage& encoded_image, |
- const CodecSpecificInfo* codec_specific_info, |
- const RTPFragmentationHeader* fragments) { |
+EncodedImageCallback::Result FakeH264Encoder::OnEncodedImage( |
+ const EncodedImage& encoded_image, |
+ const CodecSpecificInfo* codec_specific_info, |
+ const RTPFragmentationHeader* fragments) { |
const size_t kSpsSize = 8; |
const size_t kPpsSize = 11; |
const int kIdrFrequency = 10; |
@@ -190,7 +191,7 @@ int32_t FakeH264Encoder::Encoded(const EncodedImage& encoded_image, |
++fragment_counter; |
} |
} |
- return callback_->Encoded(encoded_image, NULL, &fragmentation); |
+ return callback_->OnEncodedImage(encoded_image, NULL, &fragmentation); |
} |
DelayedEncoder::DelayedEncoder(Clock* clock, int delay_ms) |