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

Unified Diff: content/renderer/pepper/pepper_video_source_host.cc

Issue 675513002: PepperVideoSourceHost: Change endianness of color format of frames sent to the plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « content/renderer/media/webrtc/video_destination_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_video_source_host.cc
diff --git a/content/renderer/pepper/pepper_video_source_host.cc b/content/renderer/pepper/pepper_video_source_host.cc
index dd2257358ce8e7b8199513edd9dce59490005168..b75eabb0535aacb6a75e5c4dc6e0c39dfaebf4ca 100644
--- a/content/renderer/pepper/pepper_video_source_host.cc
+++ b/content/renderer/pepper/pepper_video_source_host.cc
@@ -224,7 +224,7 @@ void PepperVideoSourceHost::SendGetFrameReply() {
const uint8* src_v = frame->data(media::VideoFrame::kVPlane) +
(center * vert_crop + horiz_crop) / 2;
- libyuv::I420ToBGRA(src_y,
+ libyuv::I420ToARGB(src_y,
frame->stride(media::VideoFrame::kYPlane),
src_u,
frame->stride(media::VideoFrame::kUPlane),
« no previous file with comments | « content/renderer/media/webrtc/video_destination_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698