Index: webrtc/video/video_receive_stream.cc |
diff --git a/webrtc/video/video_receive_stream.cc b/webrtc/video/video_receive_stream.cc |
index f9a1d7466e810f219de19cf633d3ea16a806cfdd..9fe84a9b7b4f65dafb90c581203189a1122c6fa2 100644 |
--- a/webrtc/video/video_receive_stream.cc |
+++ b/webrtc/video/video_receive_stream.cc |
@@ -405,7 +405,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); |
@@ -423,7 +422,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_); |