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

Unified Diff: content/common/gpu/client/gpu_video_decode_accelerator_host.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/client/gpu_video_decode_accelerator_host.cc
diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
index 1f5ceddb550075385e8e84417dcf60b533d59ed0..1f0e3980d49dc5b0d4aaae1522bf4564f209d29a 100644
--- a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
+++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
@@ -244,12 +244,14 @@ void GpuVideoDecodeAcceleratorHost::OnPictureReady(
int32_t picture_buffer_id,
int32_t bitstream_buffer_id,
const gfx::Rect& visible_rect,
- bool allow_overlay) {
+ bool allow_overlay,
+ bool size_changed) {
DCHECK(CalledOnValidThread());
if (!client_)
return;
media::Picture picture(picture_buffer_id, bitstream_buffer_id, visible_rect,
allow_overlay);
+ picture.set_size_changed(size_changed);
client_->PictureReady(picture);
}

Powered by Google App Engine
This is Rietveld 408576698