| Index: content/browser/renderer_host/media/video_capture_controller.h
|
| diff --git a/content/browser/renderer_host/media/video_capture_controller.h b/content/browser/renderer_host/media/video_capture_controller.h
|
| index c0c3beda263bd50aaff0a7b66e5b10bf147f3c4f..92ab4e77b47456a4be4cc888211dd8999ac67ced 100644
|
| --- a/content/browser/renderer_host/media/video_capture_controller.h
|
| +++ b/content/browser/renderer_host/media/video_capture_controller.h
|
| @@ -66,7 +66,12 @@ class VideoCaptureBufferPool;
|
|
|
| class CONTENT_EXPORT VideoCaptureController {
|
| public:
|
| - VideoCaptureController();
|
| + // |max_buffers| is the maximum number of video frame buffers in-flight at any
|
| + // one time. This value should be based on the logical capacity of the
|
| + // capture pipeline, and not on hardware performance. For example, tab
|
| + // capture requires more buffers than webcam capture because the pipeline is
|
| + // longer (it includes read-backs pending in the GPU pipeline).
|
| + explicit VideoCaptureController(int max_buffers);
|
| virtual ~VideoCaptureController();
|
|
|
| base::WeakPtr<VideoCaptureController> GetWeakPtr();
|
|
|