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

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

Issue 2604323002: Fixing peerconnection reddish video issue (Closed)
Patch Set: Created 3 years, 12 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 | « no previous file | no next file » | 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 fa7ea4e8d07aa44dad9ea6e209e0fe8d4fb92010..65418bde60fa99804ce884d83df238071ec7a751 100644
--- a/webrtc/examples/peerconnection/client/linux/main_wnd.cc
+++ b/webrtc/examples/peerconnection/client/linux/main_wnd.cc
@@ -528,7 +528,7 @@ void GtkMainWnd::VideoRenderer::OnFrame(
SetSize(buffer->width(), buffer->height());
- libyuv::I420ToRGBA(buffer->DataY(), buffer->StrideY(),
+ libyuv::I420ToABGR(buffer->DataY(), buffer->StrideY(),
tommi 2017/01/02 15:37:49 hmm... that's strange. I don't think this has cha
kjellander_webrtc 2017/01/03 09:24:26 You're right we should probably look into what cau
mbonadei 2017/01/03 12:10:23 Yes, I checked out the commit before and the video
buffer->DataU(), buffer->StrideU(),
buffer->DataV(), buffer->StrideV(),
image_.get(), width_ * 4,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698