Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: webrtc/examples/peerconnection/client/linux/main_wnd.cc

Issue 1838353004: cricket::VideoFrame cleanup. New width() and height(). Deleted GetChroma* methods. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: TODO comments. Formatting tweak. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/objc/RTCVideoRendererAdapter.mm ('k') | webrtc/examples/peerconnection/client/main_wnd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/api/objc/RTCVideoRendererAdapter.mm ('k') | webrtc/examples/peerconnection/client/main_wnd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698