Index: webrtc/video/video_receive_stream.cc |
diff --git a/webrtc/video/video_receive_stream.cc b/webrtc/video/video_receive_stream.cc |
index 25418c4d8fe40df1f1d1e07b8d41a4e55646ae2a..4d7672a488990474e7676c112f4a090d311fc6d8 100644 |
--- a/webrtc/video/video_receive_stream.cc |
+++ b/webrtc/video/video_receive_stream.cc |
@@ -415,7 +415,6 @@ void VideoReceiveStream::OnFrame(const VideoFrame& video_frame) { |
// TODO(tommi): OnSyncOffsetUpdated grabs a lock. |
stats_proxy_.OnSyncOffsetUpdated(sync_offset_ms, estimated_freq_khz); |
} |
- |
// config_.renderer must never be null if we're getting this callback. |
config_.renderer->OnFrame(video_frame); |
@@ -433,7 +432,8 @@ EncodedImageCallback::Result VideoReceiveStream::OnEncodedImage( |
if (config_.pre_decode_callback) { |
config_.pre_decode_callback->EncodedFrameCallback( |
EncodedFrame(encoded_image._buffer, encoded_image._length, |
- encoded_image._frameType)); |
+ encoded_image._frameType, encoded_image._encodedWidth, |
+ encoded_image._encodedHeight, encoded_image._timeStamp)); |
} |
{ |
rtc::CritScope lock(&ivf_writer_lock_); |