Chromium Code Reviews| Index: content/browser/renderer_host/media/video_capture_controller.cc |
| =================================================================== |
| --- content/browser/renderer_host/media/video_capture_controller.cc (revision 137680) |
| +++ content/browser/renderer_host/media/video_capture_controller.cc (working copy) |
| @@ -215,8 +215,10 @@ |
| if (!client) |
| client = FindClient(session_id, controller_clients_); |
| - if (client) |
| + if (client) { |
| client->session_closed = true; |
| + client->event_handler->OnPaused(client->controller_id); |
|
Ronghua Wu (Left Chromium)
2012/05/17 22:54:37
Should we call this be called OnStop?
wjia(left Chromium)
2012/05/23 18:46:48
|Stop| has been used StopCapture. |Pause| is used
|
| + } |
| } |
| void VideoCaptureController::ReturnBuffer( |