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

Unified Diff: content/browser/renderer_host/media/video_capture_device_client.h

Issue 1064703002: VideoCaptureBufferPool: Refactor to allow support of non-ShMem backed buffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: miu@s nits Created 5 years, 8 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/browser/renderer_host/media/video_capture_device_client.h
diff --git a/content/browser/renderer_host/media/video_capture_device_client.h b/content/browser/renderer_host/media/video_capture_device_client.h
index 3abfb9575bf2521ac63db7aa5ef506dca2321bcf..7da95da8e75174d4440a68122547119bed32c8d0 100644
--- a/content/browser/renderer_host/media/video_capture_device_client.h
+++ b/content/browser/renderer_host/media/video_capture_device_client.h
@@ -47,8 +47,9 @@ class CONTENT_EXPORT VideoCaptureDeviceClient
const media::VideoCaptureFormat& frame_format,
int clockwise_rotation,
const base::TimeTicks& timestamp) override;
- scoped_refptr<Buffer> ReserveOutputBuffer(media::VideoFrame::Format format,
- const gfx::Size& size) override;
+ scoped_refptr<Buffer> ReserveOutputBuffer(
+ media::VideoPixelFormat format,
+ const gfx::Size& dimensions) override;
void OnIncomingCapturedVideoFrame(
const scoped_refptr<Buffer>& buffer,
const scoped_refptr<media::VideoFrame>& frame,

Powered by Google App Engine
This is Rietveld 408576698