Index: webrtc/video/video_receive_stream.cc |
diff --git a/webrtc/video/video_receive_stream.cc b/webrtc/video/video_receive_stream.cc |
index bc51269b85916e1daf085f17b96a6cfb4bb59734..3c2139c0888a2badbf407ca29f43f39242d0ca10 100644 |
--- a/webrtc/video/video_receive_stream.cc |
+++ b/webrtc/video/video_receive_stream.cc |
@@ -324,7 +324,7 @@ void VideoReceiveStream::OnFrame(const VideoFrame& video_frame) { |
// TODO(asapersson): Consider moving callback from video_encoder.h or |
// creating a different callback. |
-int32_t VideoReceiveStream::Encoded( |
+EncodedImageCallback::Result VideoReceiveStream::OnEncodedImage( |
const EncodedImage& encoded_image, |
const CodecSpecificInfo* codec_specific_info, |
const RTPFragmentationHeader* fragmentation) { |
@@ -348,7 +348,7 @@ int32_t VideoReceiveStream::Encoded( |
} |
} |
- return 0; |
+ return Result(Result::OK, encoded_image._timeStamp); |
} |
bool VideoReceiveStream::DecodeThreadFunction(void* ptr) { |