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

Unified Diff: content/renderer/media/video_capture_impl.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/renderer/media/video_capture_impl.cc
diff --git a/content/renderer/media/video_capture_impl.cc b/content/renderer/media/video_capture_impl.cc
index 9b104d28a7a1dd0517843d55e1a18f10a0fd6d13..45b2228776d8832108713227eb20f7916de103f4 100644
--- a/content/renderer/media/video_capture_impl.cc
+++ b/content/renderer/media/video_capture_impl.cc
@@ -281,7 +281,8 @@ void VideoCaptureImpl::OnMailboxBufferReceived(
&VideoCaptureImpl::OnClientBufferFinished, weak_factory_.GetWeakPtr(),
buffer_id, scoped_refptr<ClientBuffer>())),
packed_frame_size, gfx::Rect(packed_frame_size), packed_frame_size,
- timestamp - first_frame_timestamp_, false);
+ timestamp - first_frame_timestamp_, false /* allows_overlay */,
+ true /* has_alpha */);
frame->metadata()->MergeInternalValuesFrom(metadata);
for (const auto& client : clients_)

Powered by Google App Engine
This is Rietveld 408576698