Delete obsolete cricket::VideoFrame methods.

GetWidth and GetHeight (renamed to width and height),

GetNativeHandle (replaced by video_frame_buffer()->native_handle).

TBR=tkchin@webrtc.org (trivial changes to objc RTCVideoFrame and VideoRendererAdapter)

BUG=webrtc:5682

Review-Url: https://codereview.webrtc.org/1990063005
Cr-Commit-Position: refs/heads/master@{#12822}
This commit is contained in:
nisse
2016-05-20 01:48:45 -07:00
committed by Commit bot
parent 94616b3b0b
commit 04ebea3629
7 changed files with 14 additions and 27 deletions

View File

@ -32,7 +32,7 @@ class VideoRendererAdapter
// I420 buffer for rotation before calling the rotation method otherwise
// it will hit a DCHECK.
if (nativeVideoFrame.rotation() != webrtc::kVideoRotation_0 &&
nativeVideoFrame.GetNativeHandle()) {
nativeVideoFrame.video_frame_buffer()->native_handle()) {
rtc::scoped_refptr<webrtc::VideoFrameBuffer> i420Buffer =
nativeVideoFrame.video_frame_buffer()->NativeToI420Buffer();
std::unique_ptr<cricket::VideoFrame> cpuFrame(