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

Unified Diff: media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc

Issue 2508203004: Add hints for potential overlay promotion on android. (Closed)
Patch Set: Created 4 years, 1 month 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/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
diff --git a/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc b/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
index 69eb573b1609057be485f160768c899c895c4f46..f3d77750ec2bd9f60657d50906f38f66532c5a6b 100644
--- a/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
+++ b/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc
@@ -255,6 +255,7 @@ void GpuVideoDecodeAcceleratorHost::OnPictureReady(
params.visible_rect, params.color_space,
params.allow_overlay);
picture.set_size_changed(params.size_changed);
+ picture.set_surface_texture(params.surface_texture);
client_->PictureReady(picture);
}

Powered by Google App Engine
This is Rietveld 408576698