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

Unified Diff: content/browser/media/capture/aura_window_capture_machine.cc

Issue 1134643002: Add distinction between RGB and RGBA native texture video frames and resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
Index: content/browser/media/capture/aura_window_capture_machine.cc
diff --git a/content/browser/media/capture/aura_window_capture_machine.cc b/content/browser/media/capture/aura_window_capture_machine.cc
index 0ef3d18b2f9a4a838ec3821822bc989243f7e84b..b5aafe0712a3b6b9aeb629ad01330cb74a41e5cf 100644
--- a/content/browser/media/capture/aura_window_capture_machine.cc
+++ b/content/browser/media/capture/aura_window_capture_machine.cc
@@ -287,7 +287,7 @@ bool AuraWindowCaptureMachine::ProcessCopyOutputResponse(
texture_mailbox.sync_point())),
base::Bind(&RunSingleReleaseCallback, base::Passed(&release_callback)),
result->size(), gfx::Rect(result->size()), result->size(),
- base::TimeDelta(), false);
+ base::TimeDelta(), false /* allows_overlay */, true /* has_alpha */);
capture_frame_cb.Run(video_frame, start_time, true);
return true;
} else {

Powered by Google App Engine
This is Rietveld 408576698