| 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..3774723668ae9e17c556d4c9e6963685d383f28e 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::VideoEncodingCapabilities
|
| +WebContentsVideoCaptureDevice::GetEncodingCapabilities() {
|
| + return media::VideoEncodingCapabilities();
|
| +}
|
| +
|
| +void WebContentsVideoCaptureDevice::TryConfigureEncodedBitstream(
|
| + const media::RuntimeVideoEncodingParameters& params) {
|
| +}
|
| +
|
| void WebContentsVideoCaptureDevice::Allocate(
|
| int width, int height, int frame_rate,
|
| VideoCaptureDevice::EventHandler* consumer) {
|
|
|