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

Unified Diff: content/common/gpu/media/vaapi_video_decode_accelerator.cc

Issue 1750213002: Fix Android black frames from MSE config changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cros build Created 4 years, 10 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/common/gpu/media/vaapi_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/vaapi_video_decode_accelerator.cc b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
index a430438d3ca93eb72c777073f839e053ee8f5f26..a1576306aed92bca06e2cae5f446733387de08c3 100644
--- a/content/common/gpu/media/vaapi_video_decode_accelerator.cc
+++ b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
@@ -410,9 +410,8 @@ void VaapiVideoDecodeAccelerator::OutputPicture(
// (crbug.com/402760). Passing (0, 0) results in the client using the
// visible size extracted from the container instead.
if (client_)
- client_->PictureReady(media::Picture(output_id, input_id,
- gfx::Rect(0, 0),
- picture->AllowOverlay()));
+ client_->PictureReady(media::Picture(output_id, input_id, gfx::Rect(0, 0),
+ picture->AllowOverlay(), false));
}
void VaapiVideoDecodeAccelerator::TryOutputSurface() {

Powered by Google App Engine
This is Rietveld 408576698