| Index: webrtc/examples/peerconnection/client/main_wnd.cc
|
| diff --git a/webrtc/examples/peerconnection/client/main_wnd.cc b/webrtc/examples/peerconnection/client/main_wnd.cc
|
| index a869f5b0311f7a86d477883605ee95d618f959cd..e7c4c6e922ee57c30edb11bba5fad8555bb2fad0 100644
|
| --- a/webrtc/examples/peerconnection/client/main_wnd.cc
|
| +++ b/webrtc/examples/peerconnection/client/main_wnd.cc
|
| @@ -606,8 +606,8 @@ void MainWnd::VideoRenderer::OnFrame(
|
| {
|
| AutoLock<VideoRenderer> lock(this);
|
|
|
| - rtc::scoped_refptr<webrtc::VideoFrameBuffer> buffer(
|
| - video_frame.video_frame_buffer());
|
| + rtc::scoped_refptr<webrtc::I420BufferInterface> buffer(
|
| + video_frame.video_frame_buffer()->ToI420());
|
| if (video_frame.rotation() != webrtc::kVideoRotation_0) {
|
| buffer = webrtc::I420Buffer::Rotate(*buffer, video_frame.rotation());
|
| }
|
|
|