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

Unified Diff: content/common/gpu/media/fake_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: 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/fake_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/fake_video_decode_accelerator.cc b/content/common/gpu/media/fake_video_decode_accelerator.cc
index 230c4f34c86e48bbf2f73e852a7297cc4ae6c3af..cb98e4f37749cc39e204f0e091f217b7e77e9d5c 100644
--- a/content/common/gpu/media/fake_video_decode_accelerator.cc
+++ b/content/common/gpu/media/fake_video_decode_accelerator.cc
@@ -177,11 +177,8 @@ void FakeVideoDecodeAccelerator::DoPictureReady() {
int buffer_id = free_output_buffers_.front();
free_output_buffers_.pop();
- const media::Picture picture =
- media::Picture(buffer_id,
- bitstream_id,
- gfx::Rect(frame_buffer_size_),
- false);
+ const media::Picture picture = media::Picture(
+ buffer_id, bitstream_id, gfx::Rect(frame_buffer_size_), false);
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.
client_->PictureReady(picture);
// Bitstream no longer needed.
client_->NotifyEndOfBitstreamBuffer(bitstream_id);

Powered by Google App Engine
This is Rietveld 408576698