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

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

Issue 22935009: Add content::SurfaceCapturer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screencast_stride
Patch Set: cff149b4 WIP Created 7 years, 4 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/gpu_video_encode_accelerator.cc
diff --git a/content/common/gpu/media/gpu_video_encode_accelerator.cc b/content/common/gpu/media/gpu_video_encode_accelerator.cc
index b15f04bc619413c4bca4f2515a04292c68520256..373856cbeeda5128e315eef2b97e69d5c60b026b 100644
--- a/content/common/gpu/media/gpu_video_encode_accelerator.cc
+++ b/content/common/gpu/media/gpu_video_encode_accelerator.cc
@@ -152,6 +152,7 @@ void GpuVideoEncodeAccelerator::OnEncode(int32 frame_id,
gfx::Rect(input_visible_size_),
input_visible_size_,
reinterpret_cast<uint8*>(shm->memory()),
+ buffer_size,
buffer_handle,
base::TimeDelta(),
// It's turtles all the way down...

Powered by Google App Engine
This is Rietveld 408576698