| Index: content/browser/renderer_host/media/web_contents_video_capture_device.cc
|
| diff --git a/content/browser/renderer_host/media/web_contents_video_capture_device.cc b/content/browser/renderer_host/media/web_contents_video_capture_device.cc
|
| index f3e6e2452b3e831dab4e47115c3361f4f4fab3f3..5e41650159b076f78e14012948ce9410d87c371f 100644
|
| --- a/content/browser/renderer_host/media/web_contents_video_capture_device.cc
|
| +++ b/content/browser/renderer_host/media/web_contents_video_capture_device.cc
|
| @@ -426,7 +426,7 @@ bool ThreadSafeCaptureOracle::ObserveEventAndDecideCapture(
|
| return false; // Capture is stopped.
|
|
|
| scoped_refptr<media::VideoFrame> output_buffer =
|
| - consumer_->ReserveOutputBuffer();
|
| + consumer_->ReserveOutputVideoFrame();
|
| const bool should_capture =
|
| oracle_->ObserveEventAndDecideCapture(event, event_time);
|
| const bool content_is_dirty =
|
| @@ -1247,6 +1247,15 @@ media::VideoCaptureDevice* WebContentsVideoCaptureDevice::Create(
|
| name, render_process_id, render_view_id);
|
| }
|
|
|
| +media::VideoEncodingCapability
|
| +WebContentsVideoCaptureDevice::GetEncodingCapability() {
|
| + return media::VideoEncodingCapability();
|
| +}
|
| +
|
| +void WebContentsVideoCaptureDevice::TryConfigureEncodedBitstream(
|
| + const media::RuntimeVideoEncodingParameters& params) {
|
| +}
|
| +
|
| void WebContentsVideoCaptureDevice::Allocate(
|
| int width, int height, int frame_rate,
|
| VideoCaptureDevice::EventHandler* consumer) {
|
|
|