Index: webrtc/examples/peerconnection/client/linux/main_wnd.cc |
diff --git a/webrtc/examples/peerconnection/client/linux/main_wnd.cc b/webrtc/examples/peerconnection/client/linux/main_wnd.cc |
index 55a59aea2cb8682d154433510bb849d6cbd58287..151faaaec1d9fc54b72725d8ddc816a10348eebc 100644 |
--- a/webrtc/examples/peerconnection/client/linux/main_wnd.cc |
+++ b/webrtc/examples/peerconnection/client/linux/main_wnd.cc |
@@ -523,8 +523,8 @@ void GtkMainWnd::VideoRenderer::OnFrame( |
const webrtc::VideoFrame& video_frame) { |
gdk_threads_enter(); |
- 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()); |
} |