| 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 0dd86842f6f91520b23b6671ec5ad8192f9f28d2..2954688bd8d8fa074949d27c97f076d8aa74e997 100644
|
| --- a/content/browser/renderer_host/media/video_capture_controller.h
|
| +++ b/content/browser/renderer_host/media/video_capture_controller.h
|
| @@ -72,7 +72,8 @@
|
| // instance. Some device clients need to allocate resources for the given
|
| // capture |format| and/or work on Capture Thread (|capture_task_runner|).
|
| scoped_ptr<media::VideoCaptureDevice::Client> NewDeviceClient(
|
| - const scoped_refptr<base::SingleThreadTaskRunner>& capture_task_runner);
|
| + const scoped_refptr<base::SingleThreadTaskRunner>& capture_task_runner,
|
| + const media::VideoCaptureFormat& format);
|
|
|
| // Start video capturing and try to use the resolution specified in |params|.
|
| // Buffers will be shared to the client as necessary. The client will continue
|
| @@ -120,7 +121,7 @@
|
|
|
| // Worker functions on IO thread. Called by the VideoCaptureDeviceClient.
|
| void DoIncomingCapturedVideoFrameOnIOThread(
|
| - scoped_ptr<media::VideoCaptureDevice::Client::Buffer> buffer,
|
| + const scoped_refptr<media::VideoCaptureDevice::Client::Buffer>& buffer,
|
| const scoped_refptr<media::VideoFrame>& frame,
|
| const base::TimeTicks& timestamp);
|
| void DoErrorOnIOThread();
|
|
|