diff options
Diffstat (limited to 'content/browser/renderer_host/media/video_capture_controller.cc')
-rw-r--r-- | content/browser/renderer_host/media/video_capture_controller.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/content/browser/renderer_host/media/video_capture_controller.cc b/content/browser/renderer_host/media/video_capture_controller.cc index 5dff5c2..f23f50f 100644 --- a/content/browser/renderer_host/media/video_capture_controller.cc +++ b/content/browser/renderer_host/media/video_capture_controller.cc @@ -121,7 +121,7 @@ class VideoCaptureController::VideoCaptureDeviceClient const gfx::Size& dimensions, base::TimeTicks timestamp, int frame_rate) OVERRIDE; - virtual void OnError(const std::string& reason) OVERRIDE; + virtual void OnError() OVERRIDE; private: scoped_refptr<Buffer> DoReserveOutputBuffer(media::VideoFrame::Format format, @@ -428,10 +428,7 @@ void VideoCaptureController::VideoCaptureDeviceClient::OnIncomingCapturedBuffer( timestamp)); } -void VideoCaptureController::VideoCaptureDeviceClient::OnError( - const std::string& reason) { - MediaStreamManager::SendMessageToNativeLog( - "Error on video capture: " + reason); +void VideoCaptureController::VideoCaptureDeviceClient::OnError() { BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind(&VideoCaptureController::DoErrorOnIOThread, controller_)); |