| 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 5a9c26817552b05b72f3ce521d75aaaa262cabf1..e2ed0085e08fa220380606e09e83ea7b96db3ff4 100644
|
| --- a/webrtc/examples/peerconnection/client/linux/main_wnd.cc
|
| +++ b/webrtc/examples/peerconnection/client/linux/main_wnd.cc
|
| @@ -486,8 +486,7 @@ void GtkMainWnd::VideoRenderer::OnFrame(
|
|
|
| const cricket::VideoFrame* frame = video_frame.GetCopyWithRotationApplied();
|
|
|
| - SetSize(static_cast<int>(frame->GetWidth()),
|
| - static_cast<int>(frame->GetHeight()));
|
| + SetSize(frame->width(), frame->height());
|
|
|
| int size = width_ * height_ * 4;
|
| // TODO(henrike): Convert directly to RGBA
|
|
|