Changed argument occurences of const I420VideoFrame* to const I420VideoFrame& and non-const I420VideoFrame& to I420VideoFrame*.
R=magjed@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/40299004 Cr-Commit-Position: refs/heads/master@{#8731} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8731 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -185,13 +185,13 @@ VCMRTPEncodeCompleteCallback::EncodeComplete()
|
||||
// Decoded Frame Callback Implementation
|
||||
|
||||
int32_t
|
||||
VCMDecodeCompleteCallback::FrameToRender(I420VideoFrame& videoFrame)
|
||||
VCMDecodeCompleteCallback::FrameToRender(I420VideoFrame* videoFrame)
|
||||
{
|
||||
if (PrintI420VideoFrame(videoFrame, _decodedFile) < 0) {
|
||||
if (PrintI420VideoFrame(*videoFrame, _decodedFile) < 0) {
|
||||
return -1;
|
||||
}
|
||||
_decodedBytes += CalcBufferSize(kI420, videoFrame.width(),
|
||||
videoFrame.height());
|
||||
_decodedBytes += CalcBufferSize(kI420, videoFrame->width(),
|
||||
videoFrame->height());
|
||||
return VCM_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user