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

Unified Diff: media/filters/gpu_video_decoder.cc

Issue 806413004: Plumb allow_overlay flag for video path into cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 9424cda2babf8c607f3225c5d9696c4aba18a1be..b51507bcf17da0834ac036fd597a6a02b1bb04cf 100644
--- a/media/filters/gpu_video_decoder.cc
+++ b/media/filters/gpu_video_decoder.cc
@@ -466,6 +466,7 @@ void GpuVideoDecoder::PictureReady(const media::Picture& picture) {
natural_size,
timestamp,
base::Bind(&ReadPixelsSync, factories_, pb.texture_id(), visible_rect)));
+ frame->set_allow_overlay(picture.allow_overlay());
CHECK_GT(available_pictures_, 0);
--available_pictures_;
bool inserted =

Powered by Google App Engine
This is Rietveld 408576698