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

Unified Diff: media/filters/gpu_video_decoder.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: media/filters/gpu_video_decoder.cc
diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc
index 64668fa398f76ef6c38c7e6aab94d16141bfe84c..2e2c178e8f1ede4d61e54bfc3b16a54053e82787 100644
--- a/media/filters/gpu_video_decoder.cc
+++ b/media/filters/gpu_video_decoder.cc
@@ -405,8 +405,8 @@ void GpuVideoDecoder::PictureReady(const media::Picture& picture) {
BindToCurrentLoop(base::Bind(
&GpuVideoDecoder::ReleaseMailbox, weak_factory_.GetWeakPtr(),
factories_, picture.picture_buffer_id(), pb.texture_id())),
- pb.size(), visible_rect, natural_size, timestamp,
- picture.allow_overlay()));
+ pb.size(), visible_rect, natural_size, timestamp, picture.allow_overlay(),
+ true /* has_alpha */));
CHECK_GT(available_pictures_, 0);
--available_pictures_;
bool inserted =

Powered by Google App Engine
This is Rietveld 408576698