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

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

Issue 1750213002: Fix Android black frames from MSE config changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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/dxva_video_decode_accelerator_win.cc
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator_win.cc b/content/common/gpu/media/dxva_video_decode_accelerator_win.cc
index 695f06b912cb72bc3c67af39d8b7bdabe2bae13d..2e78cf182d604970fe40d860714184b5fa725e05 100644
--- a/content/common/gpu/media/dxva_video_decode_accelerator_win.cc
+++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.cc
@@ -1747,8 +1747,8 @@ void DXVAVideoDecodeAccelerator::NotifyPictureReady(
if (GetState() != kUninitialized && client_) {
// TODO(henryhsu): Use correct visible size instead of (0, 0). We can't use
// coded size here so use (0, 0) intentionally to have the client choose.
- media::Picture picture(picture_buffer_id, input_buffer_id,
- gfx::Rect(0, 0), false);
+ media::Picture picture(picture_buffer_id, input_buffer_id, gfx::Rect(0, 0),
liberato (no reviews please) 2016/03/09 15:32:06 perhaps remove this file from the CL.
chcunningham 2016/03/09 20:25:09 Done.
+ false);
client_->PictureReady(picture);
}
}

Powered by Google App Engine
This is Rietveld 408576698