From fbd55cb27db1b84b20e8884da348c7b7d957281e Mon Sep 17 00:00:00 2001 From: "buildbot@webrtc.org" Date: Tue, 28 Oct 2014 05:35:35 +0000 Subject: [PATCH] (Auto)update libjingle 78616359-> 78642371 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7540 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/media/webrtc/webrtcvideoengine.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/talk/media/webrtc/webrtcvideoengine.cc b/talk/media/webrtc/webrtcvideoengine.cc index 8b4ec68dc4..064c005a30 100644 --- a/talk/media/webrtc/webrtcvideoengine.cc +++ b/talk/media/webrtc/webrtcvideoengine.cc @@ -3215,7 +3215,10 @@ bool WebRtcVideoMediaChannel::SendFrame( if (changed) { // If the last captured frame info changed, then calling // SetSendParams will update to the latest resolution. - if (!SetSendParams(send_channel, send_channel->send_params())) { + VideoSendParams send_params = send_channel->send_params(); + // Note: We must copy the send_params because otherwise the memory + // checker will complain. + if (!SetSendParams(send_channel, send_params)) { LOG(LS_ERROR) << "SetSendParams from SendFrame failed with " << frame->GetWidth() << "x" << frame->GetHeight() << " screencast? " << is_screencast;