Delete webrtc::VideoFrame::CopyFrame.

BUG=webrtc:5682

Review-Url: https://codereview.webrtc.org/2371363003
Cr-Commit-Position: refs/heads/master@{#14550}
This commit is contained in:
nisse
2016-10-06 05:00:06 -07:00
committed by Commit bot
parent 93e451b0f5
commit 0e7c7ce35d
6 changed files with 6 additions and 65 deletions

View File

@ -250,9 +250,10 @@ void TestSize(const VideoFrame& source_frame,
// Scale |resampled_source_frame| back to the source scale.
VideoFrame resampled_source_frame;
resampled_source_frame.CopyFrame(*out_frame);
resampled_source_frame.ShallowCopy(*out_frame);
// Compute PSNR against the cropped source frame and check expectation.
PreprocessFrameAndVerify(resampled_source_frame, cropped_source.width(),
PreprocessFrameAndVerify(resampled_source_frame,
cropped_source.width(),
cropped_source.height(), vpm, out_frame);
WriteProcessedFrameForVisualInspection(resampled_source_frame, *out_frame);