Index: webrtc/media/engine/webrtcvideoengine2.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2.cc b/webrtc/media/engine/webrtcvideoengine2.cc |
index 5176c115b70d8224978abad1c1555e327c9e39e6..54c74073260820fcfa2ce3ff7539a1221a3f652b 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2.cc |
@@ -2520,10 +2520,10 @@ void WebRtcVideoChannel2::WebRtcVideoReceiveStream::OnFrame( |
return; |
} |
- WebRtcVideoFrame render_frame( |
- frame.video_frame_buffer(), frame.rotation(), |
- frame.render_time_ms() * rtc::kNumNanosecsPerMicrosec, frame.timestamp()); |
- sink_->OnFrame(render_frame); |
+ sink_->OnFrame( |
+ WebRtcVideoFrame(frame.video_frame_buffer(), frame.rotation(), |
+ frame.render_time_ms() * rtc::kNumNanosecsPerMicrosec, |
+ frame.timestamp())); |
} |
bool WebRtcVideoChannel2::WebRtcVideoReceiveStream::IsDefaultStream() const { |