Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Unified Diff: content/browser/renderer_host/media/video_capture_controller.cc

Issue 7192007: Adding error signalling from device to VideocaptureManager to relay up to MediaStream and WebKit. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/media/video_capture_controller.cc
===================================================================
--- content/browser/renderer_host/media/video_capture_controller.cc (revision 89207)
+++ content/browser/renderer_host/media/video_capture_controller.cc (working copy)
@@ -154,6 +154,7 @@
void VideoCaptureController::OnError() {
event_handler_->OnError(id_);
+ media_stream::VideoCaptureManager::Get()->Error(params_.session_id);
}
void VideoCaptureController::OnFrameInfo(
@@ -208,3 +209,4 @@
delete stopped_task;
}
}
+
scherkus (not reviewing) 2011/06/17 03:03:52 nit: get rid of blank line
mflodman1 2011/06/20 19:48:03 Done.

Powered by Google App Engine
This is Rietveld 408576698